geom_Xisoprop {ggtern} | R Documentation |
Fixed Value Isoproportion Lines
Description
Create fixed isoproportion lines for each of the ternary axes, geom_Xisoprop(...), (X = T, L, R)
will draw an isoproportion
line projecting from the T, L and R apex respectively.
Usage
geom_Tisoprop(
mapping = NULL,
data = NULL,
...,
value,
na.rm = FALSE,
show.legend = NA
)
geom_Lisoprop(
mapping = NULL,
data = NULL,
...,
value,
na.rm = FALSE,
show.legend = NA
)
geom_Risoprop(
mapping = NULL,
data = NULL,
...,
value,
na.rm = FALSE,
show.legend = NA
)
Arguments
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
... |
Other arguments passed on to |
value |
the isoproportion ratio to draw |
na.rm |
If |
show.legend |
logical. Should this layer be included in the legends?
|
Aesthetics
geom_Tisoprop
understands the following aesthetics (required aesthetics are in bold):
value
alpha
arrow
colour
linetype
size
Author(s)
Nicholas Hamilton
Examples
data(Feldspar)
ggtern(data=Feldspar,aes(Ab,An,Or)) +
geom_Tisoprop(value=0.5) +
geom_Lisoprop(value=0.5) +
geom_Risoprop(value=0.5) +
geom_point()