# NOT RUN {
## Requires prior installation of suggested package earth to run
model_fit <- fit(Species ~ ., data = iris, model = EarthModel)
varimp(model_fit, method = "model", type = "gcv", scale = FALSE)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab