build.y {useful} | R Documentation |
Build the y object from a formula and data
build.y(formula, data)
formula |
A formula |
data |
A data.frame |
Given a formula and a data.frame build the y object
The y object from a formula and data
Jared P. Lander
require(ggplot2)
head(mpg)
head(build.y(hwy ~ class + cyl + year, data=mpg))