pred.dataMining: Predicts for data mining methods

Description Usage Arguments Value Author(s) Examples

Description

Performs predictions over a data mining model using the caret::predict.train function.

Usage

1
pred.dataMining(model, n.ahead)

Arguments

model

A modl object.

n.ahead

Number of values to predict.

Value

A ts object containing the predictions.

Author(s)

Alberto Vico Moreno

Examples

1
2
m <- modl(prep(AirPassengers),method='dataMining',algorithm='rpart')
pred.dataMining(m,n.ahead=15)

predtoolsTS documentation built on May 2, 2019, 5:54 a.m.