rpuHclust {rpud} | R Documentation |
This function finds hierarchical clusters from a distance matrix based an agglomerative algorithms.
rpuHclust(d, method="complete", members=NULL)
d |
a dissimilarity structure as produced by |
method |
the agglomeration method to be used. This should
be (an unambiguous abbreviation of) one of
|
members |
|
Perform hierarchical clusterings with the rpudplus add-on for rpud. In absense of rpudplus, rpud perform the cluster analysis with the default R implementation, and there will be no speed gain.
An object of class hclust which describes the tree produced by the clustering process.
hclust, gpuHclust
## Not run:
numVectors <- 5
dimension <- 10
Vectors <- matrix(runif(numVectors*dimension), numVectors, dimension)
distMat <- rpuDist(Vectors, "euclidean")
myClust <- rpuHclust(distMat, "single")
plot(myClust)
## End(Not run)