parameter_groups gets groups of parameters based on multivariate analysis

parameter_groups(list_out_check_model, parameter)

Arguments

list_out_check_model

A list whose elements are output from check_model

parameter

The parameter on which to get the groups

Value

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

Details

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

See also