| predict.ada.prmdt {traineR} | R Documentation | 
predict.ada.prmdt
Description
Return prediction for a ada model.
Usage
## S3 method for class 'ada.prmdt'
predict(object, newdata, type = "class", n.iter = NULL, ...)
Arguments
object | 
 a   | 
newdata | 
 an optional data frame in which to look for variables with which to predict.  | 
type | 
 type of prediction 'prob' or 'class' (default).  | 
n.iter | 
 number of iterations to consider for the prediction. By default this is iter from the ada call (n.iter< iter).  | 
... | 
 additional arguments affecting the predictions produced.  | 
Value
a vector or matrix of predictions for ada model.
[Package traineR version 2.2.0 Index]