R/parameter_groups.R
parameter_groups.Rd
parameter_groups
gets groups of parameters based on multivariate analysis
parameter_groups(list_out_check_model, parameter)
list_out_check_model | A list whose elements are output from |
---|---|
parameter | The parameter on which to get the groups |
The function returns a list of two elements:
obj.pca : the PCA object from FactoMineR::PCA
clust, a list of two elements:
res.hcpc : the HCPC object from FactoMineR::HCPC
clust : the dataframe with cluster assigned to each individual
The function run a PCA on a matrix containing the value of each parameter for each variable.
Clusters are done based on HCPC method with FactoMineR package as explained here http://www.sthda.com/english/wiki/hcpc-hierarchical-clustering-on-principal-components-hybrid-approach-2-2-unsupervised-machine-learning