R/ternaryplot.R
panel.ternaryplot.density.Rd
Two-Dimensional Density Estimation for Ternary Plots
panel.ternaryplot.density(x, y, z, subscripts, n = 100, region = TRUE, contour = FALSE, labels = isTRUE(contour), density_breaks = NULL, ...)
x | Numeric vector |
---|---|
y | Numeric vector |
z | Numeric vector |
subscripts | |
n | Number of grid points in each direction. Can be scalar or a length-2 integer vector. |
region | Fill density or response estimates with a color gradient. |
contour | Draw contour lines for density and response estimates. |
labels | Label contour lines. |
density_breaks | Breaks for the density plot if used (see
|
... | Arguments that will be passed on to |
Plots a layer inside a panel of a lattice
plot.