cluster3d: cluster3d

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1
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

1
2
3
4
5
6
7
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)

clusterpath documentation built on June 30, 2020, 3:02 a.m.