# NOT RUN {
# Read a set of time series with information on deforestation
data(prodes_226_064)
# Print the labels
sits_labels(prodes_226_064)
# Create a conversion list.
# Three classes will be converted to "NonForest".
conv.lst = list(Deforestation_2014 = "NonForest",
Deforestation_2015 = "NonForest",
Pasture = "NonForest")
# relabel the data
new_data.tb <- sits_relabel(prodes_226_064, conv.lst)
# show the new labels
sits_labels(new_data.tb)
# }
Run the code above in your browser using DataLab