Gets variable importance scores from rf()
, rf_repeat()
, and rf_spatial()
models.
A data frame with variable names and importance scores.
Examplesif(interactive()){
data(plant_richness_df)
data(distance_matrix)
rf.model <- rf(
data = plant_richness_df,
dependent.variable.name = "richness_species_vascular",
predictor.variable.names = colnames(plant_richness_df)[5:21],
distance.matrix = distance_matrix,
distance.thresholds = 0,
n.cores = 1,
verbose = FALSE
)
x <- get_importance(rf.model)
x
}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4