powered by
Build the y object from a formula and data
build.y(formula, data)
The y object from a formula and data
A formula
A data.frame
Jared P. Lander
Given a formula and a data.frame build the y object
require(ggplot2) head(mpg) head(build.y(hwy ~ class + cyl + year, data=mpg))
Run the code above in your browser using DataLab