Package: Ternary 2.3.7

Ternary: Create Ternary and Holdridge Plots

Plots ternary diagrams (simplex plots / Gibbs triangles) and Holdridge life zone plots <doi:10.1126/science.105.2727.367> using the standard graphics functions. Allows custom annotation, interpolating, contouring and scaling of plotting region. Includes a 'Shiny' user interface for point-and-click ternary plotting. An alternative to 'ggtern', which uses the 'ggplot2' family of plotting functions.

Authors:Martin R. Smith [aut, cre, cph], Lilian Sanselme [ctb]

Ternary_2.3.7.tar.gz
Ternary_2.3.7.zip(r-4.7)Ternary_2.3.7.zip(r-4.6)Ternary_2.3.7.zip(r-4.5)
Ternary_2.3.7.tgz(r-4.6-any)Ternary_2.3.7.tgz(r-4.5-any)
Ternary_2.3.7.tar.gz(r-4.7-any)Ternary_2.3.7.tar.gz(r-4.6-any)
Ternary_2.3.7.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
Ternary/json (API)

# Install 'Ternary' in R:
install.packages('Ternary', repos = c('https://ms609.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ms609/ternary/issues

Pkgdown/docs site:https://ms609.github.io

Datasets:

On CRAN:

Conda:

graphicsplottingplotting-in-rternary-plots

10.09 score 37 stars 8 packages 115 scripts 2.2k downloads 1 mentions 50 exports 35 dependencies

Last updated from:bddc11b8e9. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK161
source / vignettesOK194
linux-release-x86_64OK156
macos-release-arm64OK93
macos-oldrel-arm64OK81
windows-develOK100
windows-releaseOK139
windows-oldrelOK96
wasm-releaseOK157

Exports:.SetRegionAddToHoldridgeAddToTernaryAnnotateColorTernaryColourTernaryCoordinatesToXYGrowPolygonHoldridgeArrowsHoldridgeBeltsHoldridgeHypsometricColHoldridgeLinesHoldridgePlotHoldridgePointsHoldridgePolygonHoldridgeTextHoldridgeToXYHorizontalGridJoinTheDotsOutsidePlotPolygonAreaPolygonCenterPolygonCentreReflectedEquivalentsTernaryAppTernaryArrowsTernaryContourTernaryCoordsTernaryDensityTernaryDensityContourTernaryDownTilesTernaryLeftTilesTernaryLinesTernaryPlotTernaryPointsTernaryPointValuesTernaryPolygonTernaryRightTilesTernarySegmentsTernaryTextTernaryTilesTernaryToXYTernaryUpTilesTernaryXRangeTernaryYRangeTriangleCentresTriangleInHullXYToHoldridgeXYToPetPrecXYToTernary

Dependencies:base64encbslibcachemcliclueclustercommonmarkdigestfastmapfontawesomefsgluehtmltoolshttpuvjquerylibjsonlitelaterlatticelifecyclemagrittrmemoisemimeotelPlotToolspromisesR6rappdirsRcpprlangsassshinysourcetoolsspwithrxtable

Create Ternary Plots in R
Create a blank plot | Plot two stylised plots side by side, and plot data | Styling points | Cartesian coordinates | Contours | Magnification | Further tutorials | Bugs and feature requests

Last update: 2025-05-07
Started: 2019-09-12

Holdridge plots
Your own data | Customization | References

Last update: 2024-08-05
Started: 2021-12-31

Interpolating and contouring
Interpolation within a sampled region | Where next

Last update: 2024-08-05
Started: 2021-03-15

Introduction for new R users
Your own data | Where next

Last update: 2024-08-05
Started: 2021-12-30

Adding annotations
Where next

Last update: 2024-01-04
Started: 2023-02-17

Readme and manuals

Help Manual

Help pageTopics
Add elements to ternary or Holdridge plotAddToHoldridge AddToTernary HoldridgeArrows HoldridgeLines HoldridgePoints HoldridgePolygon HoldridgeText JoinTheDots TernaryArrows TernaryLines TernaryPoints TernaryPolygon TernarySegments TernaryText
Annotate points on a ternary plotAnnotate
Palettes compatible with colour blindnesscbPalette13 cbPalette15 cbPalette8 cbPalettes
Colour ternary plotColorTernary ColourTernary
Random sample of points for Holdridge plottingholdridge
Names of the 38 classes defined with the Holdridge systemholdridgeClasses holdridgeClassesUp holdridgeLifeZones holdridgeLifeZonesUp
Convert a point in evapotranspiration-precipitation space to an appropriate cross-blended hypsometric colourHoldridgeHypsometricCol
Plot life zones on a Holdridge plotHoldridgeBelts HoldridgeHexagons HoldridgePlot
Is a point in the plotting area?OutsidePlot
Reflected equivalents of points outside the ternary plotReflectedEquivalents
Graphical user interface for creating ternary plotsTernaryApp
Add contours to a ternary plotTernaryContour
Convert ternary coordinates to Cartesian spaceTernaryCoords TernaryToXY TernaryToXY.matrix TernaryToXY.numeric TernaryToXY.ts
Add contours of estimated point density to a ternary plotTernaryDensityContour
Create a ternary plotHorizontalGrid TernaryPlot
Evaluate function over a gridTernaryDensity TernaryPointValues
Paint tiles on ternary plotTernaryDownTiles TernaryLeftTiles TernaryRightTiles TernaryTiles TernaryUpTiles
X and Y coordinates of ternary plotting areaTernaryXRange TernaryYRange
Coordinates of triangle mid-pointsTriangleCentres
Does triangle overlap convex hull of points?TriangleInHull
Cartesian coordinates to ternary pointXYToHoldridge XYToPetPrec XYToTernary