nbFactorFromData: Get the number of modalities for each column of a categorical...

View source: R/global.R

nbFactorFromDataR Documentation

Get the number of modalities for each column of a categorical data set

Description

Get the number of modalities for each column of a categorical data set

Usage

nbFactorFromData(x)

Arguments

x

a vector or a matrix or a data frame containing factors

Value

a vector containing the number of modalities for each column


Rmixmod documentation built on May 29, 2024, 7:32 a.m.