cluster3d {clusterpath}R Documentation

cluster3d

Description

Cluster a matrix of 3d points using the l1 and l2 algorithms.

Usage

cluster3d(x, gamma = 0)

Arguments

x

A numeric matrix of 3d data.

gamma

gamma value for the weights in the l2 clustering

Value

An invisble list of the results of the clustering algorithms.

Author(s)

Toby Dylan Hocking

Examples

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)

[Package clusterpath version 1.2 Index]