Description Usage Arguments Value Author(s) References Examples
This function obtains the values in the column whose name is the target variable of a prediction problem described by a formula.
1 | responseValues(formula, data, na=NULL)
|
formula |
A formula describing a prediction problem |
data |
The data frame containing the data of the prediction problem |
na |
A function to handle NAs in the data |
A vector of values
Luis Torgo ltorgo@dcc.fc.up.pt
Torgo, L. (2014) An Infra-Structure for Performance Estimation and Experimental Comparison of Predictive Models in R. arXiv:1412.0436 [cs.MS] http://arxiv.org/abs/1412.0436
1 2 3 | data(iris)
tgt <- responseValues(Species ~ ., iris)
summary(tgt)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.