partuniq(mclust) | R Documentation |
partuniq(x)
x |
Matrix of observations. |
A vector of length nrow(x)
with integer entries. An observation k
is
assigned an integer i
whenever observation i
is the first row of x
that is identical to observation k
(note that i <= k
).
Gives a one-to-one mapping from unique observations to rows of a data matrix.
data(iris) mhtree(iris[,1:4], partition = partuniq(iris[,1:4]))