Learn R Programming

ggtern (version 2.1.1)

coord_tern: Ternary Coordinate System

Description

coord_tern is a function which creates a transformation mechanism between the ternary system, and, the cartesian system. It inherits from the fixed coordinate system, employing fixed ratio between x and y axes once transformed.

Usage

coord_tern(Tlim = NULL, Llim = NULL, Rlim = NULL, expand = TRUE)

CoordTern

Arguments

Tlim
the range of T in the ternary space
Llim
the range of L in the ternary space
Rlim
the range of R in the ternary space
expand
If TRUE, the default, adds a small expansion factor to the limits to ensure that data and axes don't overlap. If FALSE, limits are taken exactly from the data or xlim/ylim.

Value

  • coord_tern returns a CoordTern ggproto

format

An object of class CoordTern (inherits from CoordCartesian, Coord, ggproto) of length 8.