View source: R/ternary_diagram.R
| add_ternary_grid | R Documentation |
Add a ternary grid layer
add_ternary_grid(p, ticks = seq(0.1, 0.9, 0.1), n = 300, eps = 1e-06, ...)
p |
A |
ticks |
Numeric vector of grid levels. |
n |
Number of sampled points per grid line. |
eps |
Small positive offset used before log-ratio transformation. |
... |
Further arguments passed to |
A ggplot2 object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.