View source: R/ternary_diagram.R
| ternary_plot | R Documentation |
Create the base ggplot object associated with a ternary_frame.
ternary_plot(
frame = NULL,
show_grid = TRUE,
show_outline = TRUE,
show_labels = TRUE,
grid_ticks = seq(0.1, 0.9, 0.1)
)
frame |
Optional |
show_grid |
Logical. If |
show_outline |
Logical. If |
show_labels |
Logical. If |
grid_ticks |
Numeric vector of grid levels. |
A ggplot2 object with the ternary_frame attached as attribute.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.