Learn R Programming

spatialRF (version 1.1.5)

print.rf: Custom print method for random forest models

Description

Custom print method for models fitted with rf(), rf_repeat(), and rf_spatial().

Usage

# S3 method for rf
print(x, ...)

Value

Prints model details to the console.

Arguments

x

A model fitted with rf(), rf_repeat(), or rf_spatial().

...

Additional arguments for print methods.

See Also

print_evaluation(), print_importance(), print_moran(), print_performance()

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_evaluation(), print_importance(), print_moran(), print_performance()

Examples

Run this code

data(plants_rf)

print(plants_rf)

#or
plants_rf

Run the code above in your browser using DataLab