Displaying 1 result from an estimated 1 matches for "hclf_dn".
2008 Mar 08
1
Elbow criterion plots for determining k in hierarchical clustering
...oup variance for each cluster
and total variance (needed to compute variance explained).
I'm new to R in the last month or so and greatly appreciate any advice you
can give me. I've included my code for a subset of the data below (in which
k=4 as an example)
Thanks in advance,
Becky
> HClf_dn <- hclust(dist(model.matrix(~-1 + f_dn1+f_dn2+f_dn3+f_dn4,
> CwdDbh), method= "manhattan") , method= "ward")
> plot(HClf_dn, main= "Cluster Dendrogram for Solution HClf_dn", xlab=
> "Observation Number in Data Set CwdDbh", sub="Method=ward;
&...