get_hard: Decompose soft (fuzzy, probabilistic) membership to hard...

Description Usage Arguments Value Examples

Description

Used in get_conf_mat but might be useful separately

Usage

1

Arguments

x

A matrix or data frame (or something coercible to a matrix) containing memberships - rows are sites (observations, cases etc.) columns are classes

Value

Binary matrix of class membership. Class names inherited from names() or colnames().

Examples

1
2
my_mat <- matrix(runif(20,0,1), nrow = 4)
get_hard(my_mat)

c2c documentation built on May 1, 2019, 10:13 p.m.