Ternary Interpolation
Description
This is the heavily requested geometry for interpolating between ternary values, results being rendered using contours on a ternary mesh.
Usage
1 2 3 4 5 6 7 8 9 10  geom_interpolate_tern(mapping = NULL, data = NULL,
stat = "InterpolateTern", position = "identity", ..., method = "auto",
formula = value ~ poly(x, y, degree = 1), lineend = "butt",
linejoin = "round", linemitre = 1, na.rm = FALSE, show.legend = NA,
inherit.aes = TRUE)
stat_interpolate_tern(mapping = NULL, data = NULL,
geom = "interpolate_tern", position = "identity", ..., method = "auto",
na.rm = FALSE, show.legend = NA, inherit.aes = TRUE, n = 80,
formula = value ~ poly(x, y, degree = 1), base = "ilr")

Arguments
mapping 
Set of aesthetic mappings created by 
data 
The data to be displayed in this layer. There are three options: If A A 
stat 
The statistical transformation to use on the data for this layer, as a string. 
position 
Position adjustment, either as a string, or the result of a call to a position adjustment function. 
... 
other arguments passed on to 
method 
smoothing method (function) to use, eg. "lm", "glm", "gam", "loess", "rlm". For 
formula 
formula to use in smoothing function, eg. 
lineend 
Line end style (round, butt, square) 
linejoin 
Line join style (round, mitre, bevel) 
linemitre 
Line mitre limit (number greater than 1) 
na.rm 
If 
show.legend 
logical. Should this layer be included in the legends?

inherit.aes 
If 
geom 
Use to override the default connection between

n 
number of grid points in each direction 
base 
the base transformation of the data, options include 'identity' (ie direct on the cartesian space), or 'ilr' which means to use the isometric log ratio transformation. 
Aesthetics
\Sexpr[results=rd,stage=build]{ggtern:::rd_aesthetics("geom", "InterpolateTern")}Author(s)
Nicholas Hamilton
Examples
1 2 3 4 5 6 7 8 