en:mix:doubs-cluster
: has multiple issues - first combines hier and nonhier cluster analysis, second the k-means clustering has obviously trouble. FIX!
Use the Doubs river fish dataset.
- Import the data into R (import species matrix
DoubsSpe.txtand spatial matrixDoubsSpa.txt. Spatial matrix contains x and y geographical coordinates of each sample). The names of variables in R will bedoubs.spefor species matrix anddoubs.spafor spatial matrix. - Remove empty sample number 8 from both datasets (it contains no species).
- Calculate hierarchical cluster analysis of species data. Use Euclidean distance and Ward method.
- Draw the resulting dendrogram, in which you display boxes around 4 groups. Rectangle for each group will have different color!
- Calculate non-hierarchical cluster analysis of species data. Use Bray-Curtis distance and k means method to define 4 clusters.
- Draw the figure with spatial distribution of the samples (use the dataset with spatial data), where each sample will have different symbol and color according to the result of hierarchical cluster analysis (Euclidean distance and Ward clustering algorithm).
- Draw the same diagram, but use the results of k-means clustering.
en/mix/doubs-cluster.txt · Last modified: by David Zelený



