ggtern

0th

Percentile

ggtern Constructor

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 fortify. If not specified, must be suppled in each layer added to the plot.
mapping
Default list of aesthetic mappings to use for plot. If not specified, must be suppled in each layer added to the plot.
...
additional arguments passed through to ggplot
environment
If an variable defined in the aesthetic mapping is not found in the data, ggplot will look for it in this environment. It defaults to using the environment in which ggplot() is called.
Value

ggtern(...) returns an object of class ggplot.

See Also

For an introduction to the ggtern package, (including many examples), click HERE.

Aliases
  • constructor
  • ggtern
Examples
ggtern(data=data.frame(x=1,y=1,z=1),aes(x,y,z)) + geom_point()
Documentation reproduced from package ggtern, version 2.2.0, License: GPL-2

Community examples

Looks like there are no examples yet.