Displaying 1 result from an estimated 1 matches for "rclust2".
Did you mean:
clust2
2008 Jun 02
1
Plotting horizontal dendrograms
...uot;ave")
(dend1 <- as.dendrogram(hc)) # "print()" method
str(dend1) # "str()" method
str(dend1, max = 2) # only the first two sub-levels
op <- par(mfrow= c(2,2), mar = c(5,2,1,4))
plot(dend1, horiz = TRUE)
plot(dend1)
#
# My code
#
x <- read.table("Rclust2.data",header=TRUE)
m <- data.matrix(x)
d <- as.dist(m)
h <- hclust(d)
plot(h, horiz = TRUE)
----------------------------------------------------------------------
The three plot commands execute. Plot 1 is horizontal, plot 2 is vertical
and plot 3 is vertical. Plus plot 3
generates...