Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.

Author(s)

Richard M. Heiberger <rmh@temple.edu>

See Also


HH

Statistical Analysis and Data Display: Heiberger and Holland

v3.1-43
GPL (>= 2)
Authors
Richard M. Heiberger
Initial release
2020-11-27

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.