The function identifies in a matrix y, profiles in prof.
For each row of matrix y, the function returns the location of the
corresponding profile in object prof.
Usage
popelem(prof, ...)
# S3 method for wprof
popelem(prof, y, ...)
Arguments
prof
an object of S3 class wprof.
y
a matrix or data.frame representing a set of observations with
variables (the same contained in prof) by columns.