makeXY: makeXY

Description Usage Arguments Examples

Description

Extract respone vector and design matrix from data with given formula.

Usage

1
makeXY(.formula, .data)

Arguments

.formula

(formula)

.data

(data.frame) data from which design matrix and response to extract from

Examples

1
2
set.seed(1)
makeXY(y ~ I(x^2), data.frame(x = rnorm(10), y = rnorm(10)))

wahani/saeRobustTools documentation built on May 3, 2019, 8:09 p.m.