data(plants_rf)
# Extract fitted predictions
predictions <- get_predictions(plants_rf)
head(predictions)
# Check length matches number of observations
length(predictions)
# Compare with observed values to assess fit
# (observed values would be in original data)
Run the code above in your browser using DataLab