y
is a data.frame of observations on the ordinal or numeric variables. The partial order must be defined within the object type, so as to build the incidence matrix of the order relation (see getzeta
).
The function extracts variables and their observed modalities from the population; it builds all possible profiles and assigns to them the corresponding frequency. If some modalities are not observed in the population, they will not be used to build the 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 label type to assign to profiles. Accepetd types are: profiles
the variabiles modalities, progressive
a progressive numeration, rownames
the rownames in the dataset.