Individuation of the position and/or the group of appartenance of surveys in a dendrogram
Source:R/cluster_survey_order.R
clustOrder.Rd
After the creation of a dendrogram image, it would be helpful to associate to it also the survey code in a text format. The 'clustOrder' function allows to extract the survey codes in a text format with associated the respective position in the dendrogram. If groups of a dendrogram have been identified, also the ID group will be associated to each survey code.
Arguments
- cluster.hclust:
output from 'hclust' function of 'stats' package
- cluster.group:
Logical. TRUE if you want to specify the number of groups of the dendrogram.
- cluster.number:
To be specified only if 'cluster.group' is TRUE. Set the number of groups the dendrogram will be divided