responseValues: Obtain the target variable values of a prediction task

Description Usage Arguments Value Author(s) References Examples

Description

This function obtains the values in the column whose name is the target variable of a prediction problem described by a formula.

Usage

1

Arguments

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

Value

A vector of values

Author(s)

Luis Torgo ltorgo@dcc.fc.up.pt

References

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

Examples

1
2
3
data(iris)
tgt <- responseValues(Species ~ ., iris)
summary(tgt)

performanceEstimation documentation built on May 2, 2019, 6:01 a.m.