"predict"(object, n.trees = NULL, newdata, drop = TRUE, ...)
Arguments
object
mvtb object
n.trees
number of trees. If a vector, returns predictions in an array. Defaults to the minimum number of trees by CV, test, or training error
newdata
matrix of predictors.
drop
TRUE/FALSE Drop any dimensions of length 1
...
not used
Value
Returns an (array, matrix, vector) of predictions for all outcomes. The third dimension corresponds to the
predictions at a given number of trees, the second dimension corresponds to the number of outcomes.