Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

sits (version 1.2.0)

plot.rfor_model: Plot Random Forest model

Description

Plots the important variables in a random forest model.

Usage

# S3 method for rfor_model
plot(x, y, ...)

Value

A random forest object.

Arguments

x

Object of class "rf_model".

y

Ignored.

...

Further specifications for plot.

Author

Gilberto Camara, gilberto.camara@inpe.br

Examples

Run this code
if (sits_run_examples()) {
    # Retrieve the samples for Mato Grosso
    # train a random forest model
    rf_model <- sits_train(samples_modis_ndvi,  ml_method = sits_rfor())
    # plot the model
    plot(rf_model)
}

Run the code above in your browser using DataLab