Learn R Programming

sits (version 1.1.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_4bands,  ml_method = sits_rfor())
    # plot the model
    plot(rf_model)
}

Run the code above in your browser using DataLab