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