BreaksAndLabels | R Documentation |
Return various types of breaks and labels for ternary color keys.
BreaksAndLabels(type, center = NULL, breaks = NULL)
type |
An integer 1, 2, or 3. |
center |
Ternary coordinates of the grey-point. |
breaks |
Number of breaks in the discrete color scale. An integer >1. Values above 99 imply no discretization. |
A list of lists containing breaks and labels for each of the 3 ternary axes.
# NOTE: only intended for internal use and not part of the API
tricolore:::BreaksAndLabels(1, breaks = 3)
tricolore:::BreaksAndLabels(2)
tricolore:::BreaksAndLabels(3, center = c(1/3, 1/3, 1/3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.