Learn R Programming

spatialRF (version 1.1.5)

prepare_importance_spatial: Prepares variable importance objects for spatial models

Description

Prepares variable importance data frames and plots for models fitted with rf_spatial().

Usage

prepare_importance_spatial(model)

Value

A list with importance data frames in different formats depending on whether the model was fitted with rf() or rf_repeat().

Arguments

model

An importance data frame with spatial predictors, or a model fitted with rf_spatial().

See Also

Other utilities: .vif_to_df(), auc(), beowulf_cluster(), objects_size(), optimization_function(), rescale_vector(), root_mean_squared_error(), setup_parallel_execution(), standard_error(), statistical_mode(), thinning(), thinning_til_n()

Examples

Run this code

data(plants_rf_spatial)

prepare_importance_spatial(plants_rf_spatial) %>%
  head()

Run the code above in your browser using DataLab