HH (version 3.1-43)

do.formula.trellis.xysplom: 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

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.

See Also

formula, na.action

Examples

Run this code
# NOT RUN {
tmp <- data.frame(y=1, x=2, z=3, g=4)
do.formula.trellis.xysplom( y ~ x + z | g, data=tmp)
# }

Run the code above in your browser using DataCamp Workspace