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äcklin

Examples

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

emil documentation built on Aug. 1, 2018, 1:03 a.m.

Related to get_response in emil...