get_response: Extract the response from a data set

Description Usage Arguments Value Author(s) Examples

View source: R/modeling.r

Description

Extract the response from a data set

Usage

1

Arguments

x

Data set features.

y

Response vector or any other type of objects that describe how to extract the response vector from x.

Value

A response vector.

Author(s)

Christofer B<c3><a4>cklin

Examples

1
2
identical(iris$Species, get_response(iris, "Species"))
identical(iris$Sepal.Length, get_response(iris, Sepal.Length ~ .))

emil documentation built on July 6, 2017, 9:01 a.m.

Related to get_response in emil...