| pred.dataMining {predtoolsTS} | R Documentation | 
Predicts for data mining methods
Description
Performs predictions over a data mining model using the caret::predict.train function.
Usage
pred.dataMining(model, n.ahead)
Arguments
| model | A  | 
| n.ahead | Number of values to predict. | 
Value
A ts object containing the predictions.
Author(s)
Alberto Vico Moreno
Examples
m <- modl(prep(AirPassengers),method='dataMining',algorithm='rpart')
pred.dataMining(m,n.ahead=15)
[Package predtoolsTS version 0.1.1 Index]