format_cat_data: Binary transformation of categorical data

Description Usage Arguments Value

Description

Organizes categorical data into an indicator matrix and gives a description of the categorical variables

Usage

1

Arguments

frame

a data frame with n rows and p categorical colums (columns are of class factor)

Value

Y

an indicator matrix with n rows and m columns where m is the total number of categories

vec_quali

a vector of size p containing the number of categories of each variable

mod_quali

a list with the set of categories of each variable


chavent/divclust documentation built on May 13, 2019, 3:38 p.m.