cl.size | R Documentation |
Produces the sizes of the clusters.
cl.size (U)
U |
Membership degree matrix |
An object is assigned to a cluster according to the maximal membership degree.
clus.size |
Vector containing the sizes of the clusters |
Paolo Giordani, Maria Brigida Ferraro, Alessio Serafini
cl.size.H
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.