Learn R Programming

HH (version 3.1-47)

strip.xysplom: strip function that is able to place the correlation or regression coefficient into the strip label.

Description

strip function that is able to place the correlation and/or regression coefficient into the strip label.

Usage

strip.xysplom(which.given, which.panel, var.name, factor.levels,
 shingle.intervals, par.strip.text = trellis.par.get("add.text"),
 strip.names = c(TRUE, TRUE), style = 1, ...)

Arguments

which.given, which.panel, var.name, factor.levels, shingle.intervals

arguments to strip.default.

par.strip.text, strip.names, style, …

more arguments to strip.default.

Details

The function looks for the specific factor names c("corr","beta","corr.beta"). If it finds them, it goes up the calling sequence to locate the data for the panel. Then it calculates the correlation and/of regression coefficient and inserts the calculated value(s) as the value for the strip label.

See Also

xysplom