ternary_image | R Documentation |
Creates a grid of colored triangles with colors corresponding to the output of a function.
ternary_image(f, ...)
## S4 method for signature 'function'
ternary_image(f, n = 48, palette = NULL, ...)
f |
A |
... |
Further parameters to be passed to |
n |
A length-one |
palette |
A |
ternary_image()
is called it for its side-effects.
N. Frerebeau
Other geometries:
ternary_arrows()
,
ternary_crosshairs()
,
ternary_labels()
,
ternary_lines()
,
ternary_points()
,
ternary_polygon()
,
ternary_segments()
,
ternary_text()
## RGB
ternary_plot(NULL, xlab = "Red", ylab = "Green", zlab = "Blue")
ternary_image(f = rgb, n = 20, palette = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.