BreaksAndLabels {tricolore} | R Documentation |
Breaks and Labels for Ternary Color Key
Description
Return various types of breaks and labels for ternary color keys.
Usage
BreaksAndLabels(type, center = NULL, breaks = NULL)
Arguments
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. |
Value
A list of lists containing breaks and labels for each of the 3 ternary axes.
Examples
# 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))
[Package tricolore version 1.2.4 Index]