
Wrapper for the clusters construction
Source:R/wrap_computation_kamila.R
wrap_computation_kamila_.RdThis wrapper contains all the necessary modules which allow to construct the clusters.
Arguments
- tl_inp
List of input data frames of which we use:
PARAM_KAMILA$calc_kstar: If TRUE, estimates the clusters. Else, takes the parameter PARAM_KAMILA$param_kstar.PARAM_KAMILA$cont_var_expl: List of continuous variables chosen as explicative variables.PARAM_KAMILA$categ_var_expl: List of categorical variables chosen as explicative variables.
- tl_prepadata
List of data frames prepared in a first step.
Value
a tidylist containing the following tidylists:
tl_mod_calc_kamila: Tidylist containingPLOTDATKAMdata frame containing the clusters factor and the other variables.KM_RES_FINALdata frame containing the resulting parameters of the clustering.CONTVARSdata frame containing the continuous standardised variables.FULL_CONT_DFdata frame containing the continuous variables used for the estimation.FULL_CATEG_DFdata frame containing the categorical variables used for the estimation.