Description Usage Arguments Details Examples
Creates a ternaryVariables object: ternary plot variables definitions.
1 2 |
blrNames |
Vector of characters. Bottom, left and right variable names
as they will be found in |
blrLabels |
Vector of characters or vector of expressions. Bottom, left and right variable labels as they will be displayed on ternary plots. |
... |
Additional parameters passed to |
In this package, ternary plots variables are defined by the 3
variables name (bottom, left, right), as they will be found in
data.frame
containing ternary datasets,
and by the label of these variables on the axis of a ternary
plot.
1 2 3 4 5 6 7 8 9 10 11 12 | library( "ternaryplot" )
## Default variables
tv <- createTernaryVariables()
tv
## Custom variables
tv2 <- createTernaryVariables(
blrNames = c( "CLAY", "SILT", "SAND" ),
blrLabels = c( "Clay [%]", "SILT [%]", "SAND [%]" ) )
tv2
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.