Calculate the out-of-bag predictions of a given forest.
getOOBpreds(object, noWarning)
Arguments
object: A trained model object of class "forestry".
noWarning: Flag to not display warnings.
Returns
The vector of all training observations, with their out of bag predictions. Note each observation is out of bag for different trees, and so the predictions will be more or less stable based on the observation. Some observations may not be out of bag for any trees, and here the predictions are returned as NA.