Matrix for cluster analysis with surveys labelled with the first species ordered by decreasing abundance
Source:R/denspe.R
denspe.Rd
After creating the dendrogram it may be appropriate to append the species sorted by decreasing abundance to each survey in order to facilitate the interpretation of the analysis. The function makes it possible to generate a database with the row names coded as survey code concatenated with a certain number of species ordered by decreasing abundance. Therefore, this database can be used in place of the original database (matrix survey by species) for the calculation of the dissimilarity matrix and for the creation of the dendrogram (e.g. with hclust).
Arguments
- nspe
number of species to show in the labels.
- SpeAbund
object generated from first_ten_species.
- dbClust
matrix used for the computation of surveys' distance matrix (e.g. with either Dist or vegdist). This matrix has surveys as rows and species as columns.