data(plants_rf)
# Extract residuals
residuals <- get_residuals(plants_rf)
head(residuals)
# Check basic statistics
summary(residuals)
# Plot distribution to check for patterns
hist(residuals, main = "Residual Distribution", xlab = "Residuals")
Run the code above in your browser using DataLab