Displaying 1 result from an estimated 1 matches for "hclust_object".
2008 Mar 10
0
plotting hclust dendrograms
...several of those dendrograms and like to plot them in different
plots. I'd like to have all plots with the same scaling of the y axis so that
they become comparable by eye. That means they should all start at y=0 and
end up with a certain given value, e.g. y=8. I tried the following:
plot(
hclust_object,
main = "Single Linkage Clustering for Outlier Detection",
sub = "",
axes = FALSE, # y axis is separately drawn by axis
hang = -1, # all leafs start at y=0
)
lines(x = c(0,0), y = c(0,8), type = "n") # force extension of y axis
axis(
side = 2,
at =...