cl.size: Cluster size

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/cl.size.R

Description

Produces the sizes of the clusters.

Usage

1
2
 
 cl.size (U)

Arguments

U

Membership degree matrix

Details

An object is assigned to a cluster according to the maximal membership degree.

Value

clus.size

Vector containing the sizes of the clusters

Author(s)

Paolo Giordani, Maria Brigida Ferraro

See Also

cl.size.H

Examples

1
2
3
4
5
6
n=20
k=3
## randomly generated membership degree matrix
U=matrix(runif(n*k,0,1), nrow=n, ncol=k)
U=U/apply(U,1,sum)
clus.size=cl.size(U)

fclust documentation built on March 21, 2018, 5:03 p.m.

Related to cl.size in fclust...