makeXY {saeRobust}R Documentation

makeXY

Description

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

Usage

makeXY(.formula, .data)

Arguments

.formula

(formula)

.data

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

Examples

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

[Package saeRobust version 0.5.0 Index]