Skip to contents

Plot a dendrogram

Usage

# S3 method for class 'sits_cluster'
plot(x, ..., cluster, cutree_height, palette)

Arguments

x

sits tibble with cluster indexes.

...

Further specifications for plot.

cluster

cluster object produced by `sits_cluster` function.

cutree_height

dashed horizontal line to be drawn indicating the height of dendrogram cutting.

palette

HCL color palette.

Value

The dendrogram object.

Author

Rolf Simoes, rolfsimoes@gmail.com

Examples

if (sits_run_examples()) {
    samples <- sits_cluster_dendro(cerrado_2classes,
        bands = c("NDVI", "EVI")
    )
}