panel.ternaryplot {tactile} | R Documentation |
Panel Function for Ternary Plots
Description
Panel Function for Ternary Plots
Usage
panel.ternaryplot(
x,
y,
z,
subscripts,
response = NULL,
density = FALSE,
region = density || !is.null(response),
contour = density || !is.null(response),
labels = !is.null(response),
points = TRUE,
grid = TRUE,
density_breaks = NULL,
xlab,
ylab,
zlab,
xlab.default,
ylab.default,
zlab.default,
...
)
Arguments
x |
Numeric vector |
y |
Numeric vector |
z |
Numeric vector |
subscripts |
|
response |
An optional response variable |
density |
Compute two-dimensional density estimates via |
region |
Fill density or response estimates with a color gradient. |
contour |
Draw contour lines for density and response estimates. |
labels |
Label contour lines. |
points |
Draw points (via |
grid |
Draw a reference grid. |
density_breaks |
Breaks for the density plot if used (see
|
xlab |
X axis label (the left dimension) |
ylab |
Y axis label (the right dimension) |
zlab |
Z axis label (the top dimension) |
xlab.default |
Internal argument |
ylab.default |
Internal argument |
zlab.default |
Internal argument |
... |
Arguments passed down to subsequent panel functions. |
Value
Plots a layer inside a panel of a lattice
plot.
See Also
The building blocks of this function are available as the separate
panel functions panel.ternaryplot.xyplot()
, panel.ternaryplot.grid()
,
panel.ternaryplot.scales()
, panel.ternaryplot.clip()
,
panel.ternaryplot.response()
, and panel.ternaryplot.density()
in case
the user would like to get complete control of the customization.