Learn R Programming

mclust (version 6.0.0)

dupPartition: Partition the data by grouping together duplicated data

Description

Duplicated data are grouped together to form a basic partition that can be used to start hierarchical agglomeration.

Usage

dupPartition(data)

Value

A vector of indices indicating the partition.

Arguments

data

A numeric vector, matrix, or data frame of observations. If a matrix or data frame, rows correspond to observations (\(n\)) and columns correspond to variables (\(d\)).

See Also

hc

Examples

Run this code
# \donttest{
dupPartition(iris[,1:4])
dupPartition(iris)
dupPartition(iris$Species)
# }

Run the code above in your browser using DataLab