Learn R Programming

sits (version 0.13.0)

.sits_plot_dendrogram: Plot a dendrogram

Description

Plot a dendrogram

Usage

.sits_plot_dendrogram(
  data,
  cluster_obj,
  cutree_height = NULL,
  colors = "RdYlGn"
)

Arguments

data

sits tibble with data used to extract the dendrogram.

cluster_obj

cluster object produced by `sits_cluster` function.

cutree_height

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

colors

color scheme as per .sits_brewer_color_name` function.

Value

The plot itself.