Plot dendrogram of merges for scl object with method = "full".

plot_merges(x, root_tree = FALSE)

Arguments

x

Object of class scl obtained with method = "full".

root_tree

If TRUE, tree leaves are connected to bottom of plot, otherwise floating as determined by plot.hclust.

Value

Nothing (generates plot)

See also

Other plot_fns: plot.scl()

Examples

n <- 100
xy <- matrix (runif (2 * n), ncol = 2)
dmat <- matrix (runif (n^2), ncol = n)
scl <- scl_full (xy, dmat, ncl = 4)
plot_merges (scl)