wr {rmutil} | R Documentation |
wr
gives the response vector and design matrix for a formula in
Wilkinson and Rogers notation.
wr(formula)
formula |
A model formula. |
wr
returns a list containing the response vector (z$response)
and the design matrix (z$design) for the formula supplied.
e
J.K. Lindsey
y <- rnorm(20) x <- gl(4,5) z <- rpois(20,2) wr(y~x+z)