Package: Ternary 2.3.3.9000

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

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

Peer review:

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

Datasets:

On CRAN:

graphicsplottingplotting-in-rternary-plots

9.57 score 32 stars 5 packages 93 scripts 1.1k downloads 1 mentions 50 exports 34 dependencies

Last updated 1 months agofrom:8dabaaad87. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 20 2024
R-4.5-winOKNov 20 2024
R-4.5-linuxOKNov 20 2024
R-4.4-winOKNov 20 2024
R-4.4-macOKNov 20 2024
R-4.3-winOKNov 20 2024
R-4.3-macOKNov 20 2024

Exports:.SetRegionAddToHoldridgeAddToTernaryAnnotateColorTernaryColourTernaryCoordinatesToXYGrowPolygonHoldridgeArrowsHoldridgeBeltsHoldridgeHypsometricColHoldridgeLinesHoldridgePlotHoldridgePointsHoldridgePolygonHoldridgeTextHoldridgeToXYHorizontalGridJoinTheDotsOutsidePlotPolygonAreaPolygonCenterPolygonCentreReflectedEquivalentsTernaryAppTernaryArrowsTernaryContourTernaryCoordsTernaryDensityTernaryDensityContourTernaryDownTilesTernaryLeftTilesTernaryLinesTernaryPlotTernaryPointsTernaryPointValuesTernaryPolygonTernaryRightTilesTernarySegmentsTernaryTextTernaryTilesTernaryToXYTernaryUpTilesTernaryXRangeTernaryYRangeTriangleCentresTriangleInHullXYToHoldridgeXYToPetPrecXYToTernary

Dependencies:base64encbslibcachemclicommonmarkcrayondigestfastmapfontawesomefsgluehtmltoolshttpuvjquerylibjsonlitelaterlatticelifecyclemagrittrmemoisemimePlotToolspromisesR6rappdirsRcppRcppHungarianrlangsassshinysourcetoolsspwithrxtable

Adding annotations

Rendered fromannotation.Rmdusingknitr::rmarkdownon Nov 20 2024.

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

Create Ternary Plots in R

Rendered fromTernary.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2024-10-21
Started: 2019-09-12

Holdridge plots

Rendered fromHoldridge.Rmdusingknitr::rmarkdownon Nov 20 2024.

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

Interpolating and contouring

Rendered frominterpolation.Rmdusingknitr::rmarkdownon Nov 20 2024.

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

Introduction for new R users

Rendered fromnew-users.Rmdusingknitr::rmarkdownon Nov 20 2024.

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 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