cl.memb.t {fclust} | R 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
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,])
[Package fclust version 2.1.1.1 Index]