Learn R Programming

sits (version 1.5.0)

plot.sits_cluster: Plot a dendrogram cluster

Description

Plot a dendrogram

Usage

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

Value

The dendrogram object.

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.

Author

Rolf Simoes, rolf.simoes@inpe.br

Examples

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

Run the code above in your browser using DataLab