pred.dataMining {predtoolsTS} | R Documentation |
Performs predictions over a data mining model using the caret::predict.train
function.
pred.dataMining(model, n.ahead)
model |
A |
n.ahead |
Number of values to predict. |
A ts
object containing the predictions.
Alberto Vico Moreno
m <- modl(prep(AirPassengers),method='dataMining',algorithm='rpart')
pred.dataMining(m,n.ahead=15)