This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
archaeometry:cluster_analysis [2008/05/03 23:34] steko |
archaeometry:cluster_analysis [2018/08/04 00:01] (current) |
||
---|---|---|---|
Line 61: | Line 61: | ||
And here's the result: | And here's the result: | ||
{{ :archaeometry:cluster.png?500px |}} | {{ :archaeometry:cluster.png?500px |}} | ||
+ | |||
+ | Once you get acquainted with these functions, you can also get the plot with one single line: | ||
+ | |||
+ | <code C> | ||
+ | > plot(hclust(dist(xrd[-1])), xrd$Sample, hang = -1, cex = 0.7) | ||
+ | </code> |