Response Panels for Ternary Plots
panel.ternaryplot.response(
x,
y,
z,
subscripts,
response,
region = TRUE,
contour = TRUE,
labels = isTRUE(contour),
fun = c("glm", "lm"),
formula = response ~ poly(x, y),
...
)
Plots a layer inside a panel of a lattice
plot.
Numeric vector
Numeric vector
Numeric vector
An optional response variable
Fill density or response estimates with a color gradient.
Draw contour lines for density and response estimates.
Label contour lines.
Function to apply to the response variable.
Formula for the function.
Arguments passed on to lattice::panel.lines()
,
lattice::panel.polygon()
, lattice::panel.text()
.