BasicKey | R Documentation |
Return various types of breaks and labels for ternary color keys.
BasicKey(legend_surface, limits, brklab, show_center, center, lwd)
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. |
A ggtern grob.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.