| ggtern {ggtern} | R Documentation |
ggtern Constructor
Description
Plots in ggtern are instigated via the default constructor: ggtern(...), which is essentially a convenience wrapper for the following:
ggplot{...} + coord_tern(), indeed, if one wishes to use ggplot{...} + coord_tern() then this is quite satisfactory.
Usage
ggtern(data = NULL, mapping = aes(), ..., environment = parent.frame())
Arguments
data |
Default dataset to use for plot. If not already a data.frame,
will be converted to one by |
mapping |
Default list of aesthetic mappings to use for plot. If not specified, must be supplied in each layer added to the plot. |
... |
additional arguments passed through to |
environment |
Value
ggtern(...) returns an object of class ggplot.
Author(s)
Nicholas Hamilton
See Also
For an introduction to the ggtern package, (including many examples), click HERE.
Examples
ggtern(data=data.frame(x=1,y=1,z=1),aes(x,y,z)) + geom_point()
[Package ggtern version 3.5.0 Index]