cl.memb.t: Cluster membership

View source: R/cl.memb.t.R

cl.memb.tR Documentation

Cluster membership

Description

Produces a summary of the membership degree information according to a threshold.

Usage

 cl.memb.t (U, t)

Arguments

U

Membership degree matrix

t

Threshold in [0,1] (default: 0)

Details

An object is assigned to a cluster according to the maximal membership degree provided that such a maximal membership degree is >= t, otherwise it is assumed that an object is not assigned to any cluster (denoted by cluster index = 0 in row 1). The function can be useful to select the subset of objects clearly assigned to clusters (objects with maximal membership degrees >= t).

Value

info.U

Matrix containing the indexes of the clusters where the objects are assigned (row 1) and the associated membership degrees (row 2)

Author(s)

Paolo Giordani, Maria Brigida Ferraro, Alessio Serafini

See Also

cl.memb, cl.memb.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)
## threshold t=0.6
info.U=cl.memb.t(U,0.6)
## objects clearly assigned to clusters
rownames(info.U[info.U[,1]!=0,])

fclust documentation built on Nov. 16, 2022, 5:10 p.m.

Related to cl.memb.t in fclust...