Learn R Programming

fclust (version 1.0.1)

cl.size.H: Cluster size

Description

Produces the sizes of the clusters in the hard clustering sense.

Usage

cl.size.H (U)

Arguments

U
Membership degree matrix

Value

  • clus.sizeVector containing the sizes of the clusters

See Also

cl.size

Examples

Run this code
n=20
k=3
U=matrix(runif(n*k,0,1), nrow=n, ncol=k)
U=U/apply(U,1,sum)
clus.size=cl.size.H(U)

Run the code above in your browser using DataLab