cluster3d {clusterpath} | R Documentation |
Cluster a matrix of 3d points using the l1 and l2 algorithms.
cluster3d(x, gamma = 0)
x |
A numeric matrix of 3d data. |
gamma |
gamma value for the weights in the l2 clustering |
An invisble list of the results of the clustering algorithms.
Toby Dylan Hocking
sim <- gendata(D=3,K=5,N=10,SD=0.1) L <- cluster3d(sim$mat) L2 <- cluster3d(sim$mat,gamma=3) iris3 <- iris[,1:3] cluster3d(iris3) cluster3d(iris3,gamma=1)