Package: Ternary 2.3.3

Martin R. Smith

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.3.tar.gz
Ternary_2.3.3.tar.gz(r-4.5-noble)Ternary_2.3.3.tar.gz(r-4.4-noble)
Ternary_2.3.3.tgz(r-4.4-emscripten)Ternary_2.3.3.tgz(r-4.3-emscripten)
Ternary.pdf |Ternary.html
Ternary/json (API)
NEWS

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

Peer review:

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

Datasets:

50 exports 1.85 score 34 dependencies 5 dependents 1 mentions 89 scripts 1.2k downloads

Last updated 11 days agofrom:576a8ea56b. Checks:OK: 2. Indexed: no.

TargetResultDate
Doc / VignettesOKAug 28 2024
R-4.5-linuxOKAug 28 2024

Exports:.SetRegionAddToHoldridgeAddToTernaryAnnotateColorTernaryColourTernaryCoordinatesToXYGrowPolygonHoldridgeArrowsHoldridgeBeltsHoldridgeHypsometricColHoldridgeLinesHoldridgePlotHoldridgePointsHoldridgePolygonHoldridgeTextHoldridgeToXYHorizontalGridJoinTheDotsOutsidePlotPolygonAreaPolygonCenterPolygonCentreReflectedEquivalentsTernaryAppTernaryArrowsTernaryContourTernaryCoordsTernaryDensityTernaryDensityContourTernaryDownTilesTernaryLeftTilesTernaryLinesTernaryPlotTernaryPointsTernaryPointValuesTernaryPolygonTernaryRightTilesTernarySegmentsTernaryTextTernaryTilesTernaryToXYTernaryUpTilesTernaryXRangeTernaryYRangeTriangleCentresTriangleInHullXYToHoldridgeXYToPetPrecXYToTernary

Dependencies:base64encbslibcachemclicommonmarkcrayondigestfastmapfontawesomefsgluehtmltoolshttpuvjquerylibjsonlitelaterlatticelifecyclemagrittrmemoisemimePlotToolspromisesR6rappdirsRcppRcppHungarianrlangsassshinysourcetoolsspwithrxtable

Adding annotations

Rendered fromannotation.Rmdusingknitr::rmarkdownon Aug 28 2024.

Last update: 2024-01-10
Started: 2023-02-20

Create Ternary Plots in R

Rendered fromTernary.Rmdusingknitr::rmarkdownon Aug 28 2024.

Last update: 2024-08-28
Started: 2019-09-16

Holdridge plots

Rendered fromHoldridge.Rmdusingknitr::rmarkdownon Aug 28 2024.

Last update: 2024-08-28
Started: 2022-01-04

Interpolating and contouring

Rendered frominterpolation.Rmdusingknitr::rmarkdownon Aug 28 2024.

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

Introduction for new R users

Rendered fromnew-users.Rmdusingknitr::rmarkdownon Aug 28 2024.

Last update: 2024-08-28
Started: 2022-01-04

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 a ternary plot according to the output of a functionColorTernary 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
Polygon geometryGrowPolygon Polygon-Geometry PolygonArea PolygonCenter PolygonCentre
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
Add contours of estimated point density to a ternary plotTernaryDensityContour
Create a ternary plotHorizontalGrid TernaryPlot
Value of a function at regularly spaced pointsTernaryDensity 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