Description Usage Arguments Value Author(s) Examples
Extract the response from a data set
1 | get_response(x, y)
|
x |
Data set features. |
y |
Response vector or any other type of objects that describe how to
extract the response vector from |
A response vector.
Christofer Bäcklin
1 2 | identical(iris$Species, get_response(iris, "Species"))
identical(iris$Sepal.Length, get_response(iris, Sepal.Length ~ .))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.