View source: R/geom_ternary_gridlines.R
Adds a layer to a ggplot object drawn in ternary coordinates.
1 2 3 4 5 6 7 8 | geom_ternary_gridlines(
at = (1:3)/4,
line_overhang = 0.05,
text_overhang = 0.1,
alpha = 0.75,
col = "darkgray",
size = 2
)
|
at |
A vector of the points at which the gridlines should be drawn. |
line_overhang |
By how much should the gridlines overhang the edge of the ternary triangle? |
text_overhang |
How far from the edge of the ternary triangle should the text labels be? |
alpha |
Opacity of gridlines. |
col |
Color of gridlines. |
size |
Size of text labels. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.