cat_to_belongings: Convert categories to membership matrix

Description Usage Arguments Value

View source: R/side_functions.R

Description

Function to Convert categories to membership matrix (binary matrix)

Usage

1
2
3
cat_to_belongings(categories)

catToBelongings(categories)

Arguments

categories

A vector with the categories of each observation

Value

A binary matrix


geocmeans documentation built on April 21, 2021, 9:07 a.m.