print_importance: Prints variable importance

View source: R/print_importance.R

print_importanceR Documentation

Description

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

Usage

print_importance(
  model,
  verbose = TRUE
)

Arguments

model

A model fitted with rf, rf_repeat, or rf_spatial.

verbose

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

Value

A table printed to the standard output.

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


data(plants_rf)

print_importance(plants_rf)


spatialRF documentation built on Dec. 20, 2025, 1:07 a.m.