Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

as.memb

Turns into membership matrix


Description

Attempts to turn its cluster vector argument into a membership matrix

Usage

as.memb(cluster)

Arguments

cluster

A vector indicating the hard membership of each object in x to a set of groups. Can contain NA values.

Value

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

Author(s)

Miquel De Cáceres, Forest Science Center of Catalonia.

See Also

Examples

as.memb(factor(c(1,2,NA)))

vegclust

Fuzzy Clustering of Vegetation Data

v1.7.7
GPL (>= 2)
Authors
Miquel De Cáceres [aut, cre]
Initial release
2019-01-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.