Learn R Programming

useful (version 1.2.4)

build.y: build.y

Description

Build the y object from a formula and data

Usage

build.y(formula, data)

Arguments

formula

A formula

data

A data.frame

Value

The y object from a formula and data

Details

Given a formula and a data.frame build the y object

Examples

Run this code
# NOT RUN {
require(ggplot2)
head(mpg)
head(build.y(hwy ~ class + cyl + year, data=mpg))

# }

Run the code above in your browser using DataLab