cl.size: Cluster size

View source: R/cl.size.R

cl.sizeR Documentation

Cluster size

Description

Produces the sizes of the clusters.

Usage

 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, Alessio Serafini

See Also

cl.size.H

Examples

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 Nov. 16, 2022, 5:10 p.m.

Related to cl.size in fclust...