a dataset, used to count profile frequencies. See details.
labtype
the user can choose the type of labels to assign to profiles. See details.
sep
variables separator in the profiles labels.
Value
The function returns a S3 class object wprof, "weighted profiles", containing the data.frame named profiles and the frequency vector freq.
Details
y is a data.frame of observation of the ordinal or numeric variables. The order must be defined into the object type, so as to build the incidence matrix (see getzeta).
The function extracts variables and their observed modalities from the population; it builds all possible profiles and assigns the corresponding frequency to each of them. If some modalities are not observed in the population, they will not be used to build profiles. If one is interested in the set of all possible profiles from a given set of variables, function var2prof is to be used.
Users can choose the type label to assign to profiles. When the names of modalities are too long, it is suggested to choose progressive.