The function removes, from the set of possible profiles prof derived from the multi-indicator system, those unobserved in the input dataset (i.e. profiles with associated frequency equal to zero). It returns an object of class S3 wprof
comprising the observed profiles and their frequencies.