File: dupPartition.Rd

package info (click to toggle)
r-cran-mclust 6.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,540 kB
  • sloc: fortran: 13,298; ansic: 201; sh: 4; makefile: 2
file content (32 lines) | stat: -rw-r--r-- 692 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
\name{dupPartition}
\alias{dupPartition}

\title{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)
}
\arguments{
  \item{data}{
    A numeric vector, matrix, or data frame of observations.
    If a matrix or data frame, rows correspond to observations (\eqn{n}) and
    columns correspond to variables (\eqn{d}).
  }
}
\value{
  A vector of indices indicating the partition. 
}
\seealso{
  \code{\link{hc}}
}
\examples{
\donttest{
dupPartition(iris[,1:4])
dupPartition(iris)
dupPartition(iris$Species)
}
}
\keyword{cluster}