factor2matrix: Convert hard class labels to membership matrix

Description Usage Arguments Value Author(s) See Also

Description

Converts a factor with hard class memberships into a membership matrix

Usage

1

Arguments

f

factor with class labels

Value

matrix of size length (f) x nlevels (f)

Author(s)

Claudia Beleites

See Also

hardclasses for the inverse


softclassval documentation built on May 2, 2019, 2:06 a.m.