as.memb | R Documentation |
Attempts to turn its cluster vector argument into a membership matrix
as.memb(cluster)
cluster |
A vector indicating the hard membership of each object in |
An matrix with as many rows as the length of cluster
and as many columns as different cluster levels. NA
values will have zero membership to all clusters
Miquel De Cáceres, CREAF.
vegclust
, vegclass
as.memb(factor(c(1,2,NA)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.