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
card.svg |card.png
Ternary/json (API)
NEWS

# 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.00 score 37 stars 8 packages 115 scripts 1.8k downloads 1 mentions 50 exports 35 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-x86_64OK134
source / vignettesOK251
linux-release-x86_64OK158
macos-release-arm64OK117
macos-oldrel-arm64OK120
windows-develOK103
windows-releaseOK101
windows-oldrelOK94
wasm-releaseOK116

Exports:.SetRegionAddToHoldridgeAddToTernaryAnnotateColorTernaryColourTernaryCoordinatesToXYGrowPolygonHoldridgeArrowsHoldridgeBeltsHoldridgeHypsometricColHoldridgeLinesHoldridgePlotHoldridgePointsHoldridgePolygonHoldridgeTextHoldridgeToXYHorizontalGridJoinTheDotsOutsidePlotPolygonAreaPolygonCenterPolygonCentreReflectedEquivalentsTernaryAppTernaryArrowsTernaryContourTernaryCoordsTernaryDensityTernaryDensityContourTernaryDownTilesTernaryLeftTilesTernaryLinesTernaryPlotTernaryPointsTernaryPointValuesTernaryPolygonTernaryRightTilesTernarySegmentsTernaryTextTernaryTilesTernaryToXYTernaryUpTilesTernaryXRangeTernaryYRangeTriangleCentresTriangleInHullXYToHoldridgeXYToPetPrecXYToTernary

Dependencies:base64encbslibcachemcliclueclustercommonmarkdigestfastmapfontawesomefsgluehtmltoolshttpuvjquerylibjsonlitelaterlatticelifecyclemagrittrmemoisemimeotelPlotToolspromisesR6rappdirsRcpprlangsassshinysourcetoolsspwithrxtable

Adding annotations

Rendered fromannotation.Rmdusingknitr::rmarkdownon Jun 04 2026.

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

Create Ternary Plots in R

Rendered fromTernary.Rmdusingknitr::rmarkdownon Jun 04 2026.

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

Holdridge plots

Rendered fromHoldridge.Rmdusingknitr::rmarkdownon Jun 04 2026.

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

Interpolating and contouring

Rendered frominterpolation.Rmdusingknitr::rmarkdownon Jun 04 2026.

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

Introduction for new R users

Rendered fromnew-users.Rmdusingknitr::rmarkdownon Jun 04 2026.

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

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