# NOT RUN {
# load a simple data set with two classes
data(cerrado_2classes)
# calculate the dendrogram
dendro.obj <- sits_dendrogram (cerrado_2classes, bands = c("ndvi", "evi"))
# include the cluster info in the sits tibble
sits_dendro_bestcut (cerrado_2classes, dendro.obj)
# }
Run the code above in your browser using DataLab