BasicKey {tricolore} | R Documentation |
Template for Ternary Key
Description
Return various types of breaks and labels for ternary color keys.
Usage
BasicKey(legend_surface, limits, brklab, show_center, center, lwd)
Arguments
legend_surface |
A data frame with numeric 'id', 'p1', 'p2', 'p3' and character column 'rgb'. |
limits |
A 2 by 3 matrix of lower and upper limits for p1, p2 and p3. |
brklab |
Breaks and labels as returned by |
show_center |
Should the center be marked on the legend? (logical) |
center |
Ternary coordinates of the grey-point. |
lwd |
A numeric scalar giving the linewidth of the legend surface polygons. |
Value
A ggtern grob.
[Package tricolore version 1.2.4 Index]