geom_Xline | R Documentation |
Plot fixed value lines, for the top, left and right axis, analagous to the geom_hline
and geom_vline
geometries in ggplot2
geom_Tline(
mapping = NULL,
data = NULL,
...,
Tintercept,
na.rm = FALSE,
show.legend = NA
)
Tline(
mapping = NULL,
data = NULL,
...,
Tintercept,
na.rm = FALSE,
show.legend = NA
)
tline(
mapping = NULL,
data = NULL,
...,
Tintercept,
na.rm = FALSE,
show.legend = NA
)
geom_Lline(
mapping = NULL,
data = NULL,
...,
Lintercept,
na.rm = FALSE,
show.legend = NA
)
Lline(
mapping = NULL,
data = NULL,
...,
Lintercept,
na.rm = FALSE,
show.legend = NA
)
lline(
mapping = NULL,
data = NULL,
...,
Lintercept,
na.rm = FALSE,
show.legend = NA
)
geom_Rline(
mapping = NULL,
data = NULL,
...,
Rintercept,
na.rm = FALSE,
show.legend = NA
)
Rline(
mapping = NULL,
data = NULL,
...,
Rintercept,
na.rm = FALSE,
show.legend = NA
)
rline(
mapping = NULL,
data = NULL,
...,
Rintercept,
na.rm = FALSE,
show.legend = NA
)
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 |
Tintercept , Lintercept , Rintercept |
the intercepts for the T, L and R axis respectively |
na.rm |
If |
show.legend |
logical. Should this layer be included in the legends?
|
Nicholas Hamilton
ggtern() +
geom_Tline(Tintercept=.5,arrow=arrow(), colour='red') +
geom_Lline(Lintercept=.2, colour='green') +
geom_Rline(Rintercept=.1, colour='blue')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.