data(plants_rf)
# Extract response curve data for plotting
curves <- get_response_curves(
model = plants_rf,
variables = NULL, # auto-select important variables
quantiles = c(0.1, 0.5, 0.9)
)
# View structure
head(curves)
str(curves)
# Check unique predictors included
unique(curves$predictor.name)
Run the code above in your browser using DataLab