Learn R Programming

spatialRF (version 1.1.5)

print_importance: Prints variable importance

Description

Prints variable importance scores from rf, rf_repeat, and rf_spatial models.

Usage

print_importance(
  model,
  verbose = TRUE
)

Value

A table printed to the standard output.

Arguments

model

A model fitted with rf, rf_repeat, or rf_spatial.

verbose

Logical, if TRUE, variable importance is returned. Default: TRUE

See Also

plot_importance(), get_importance()

Other model_info: get_evaluation(), get_importance(), get_importance_local(), get_moran(), get_performance(), get_predictions(), get_residuals(), get_response_curves(), get_spatial_predictors(), print.rf(), print_evaluation(), print_moran(), print_performance()

Examples

Run this code

data(plants_rf)

print_importance(plants_rf)

Run the code above in your browser using DataLab