demo/idendroPersistent.R

## Demo on persisting the clusters selected in the dendrogram.
##

library(idendr0) # idendro

data(iris)

# perform hierarchical clustering analysis
hc <- hclust(dist(iris[, 1:4]))

# visualize clusters and heat map
clusters <- idendro(hc, iris)
# select some clusters, and quit idendro

# on next invokation, the clusters should be re-selected
idendro(hc, iris, clusters=clusters)

Try the idendr0 package in your browser

Any scripts or data that you put into this service are public.

idendr0 documentation built on May 2, 2019, 5:13 a.m.