cl.size.H: Cluster size

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

View source: R/cl.size.H.R

Description

Produces the sizes of the clusters in the hard clustering sense (objects are considered to be assigned to clusters only if the corresponding membership degree are >=0.5).

Usage

1
2
 
 cl.size.H (U)

Arguments

U

Membership degree matrix

Details

An object is assigned to a cluster according to the maximal membership degree provided that such a maximal membership degree is >=0.5, otherwise it is assumed that an object is not assigned to any cluster.

Value

clus.size

Vector containing the sizes of the clusters

Author(s)

Paolo Giordani, Maria Brigida Ferraro

See Also

cl.size

Examples

1
2
3
4
5
6
7
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)
## cluster size in the hard clustering sense
clus.size=cl.size.H(U)

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

Related to cl.size.H in fclust...