do.formula.trellis.xysplom {HH}R Documentation

Interprets model formulas for xysplom and extended bwplots

Description

Interprets a model formula in the context of its data.frame.

Usage

do.formula.trellis.xysplom(formula, data, na.action = na.pass)

Arguments

formula model formula
data data.frame
na.action see na.action

Value

A list containing three data.frames and three formula, one for each.

x data.frame containing the variables on the right-hand side of the model formula.
y data.frame containing the variables on the left-hand side of the model formula.
g data.frame containing the variables, if any, after the conditioning bar | of the model formula.
x.formula formula containing the right-hand side of the model formula.
y.formula formula containing the left-hand side of the model formula.
g.formula formula containing the formula after the conditioning bar | of the model formula.

Author(s)

Richard M. Heiberger <rmh@temple.edu>

See Also

formula, na.action

Examples

tmp <- data.frame(y=1, x=2, z=3, g=4)
do.formula.trellis.xysplom( y ~ x + z | g, data=tmp)

[Package HH version 2.1-25 Index]