getindexcat | R Documentation |
Returns a vector of names corresponding the the categories in a data frame exclusively composed of categorical variables.
getindexcat(data)
data |
data frame of categorical variables |
This function may be useful prior to a specific MCA, to identify the indexes of the 'junk' categories to exclude.
Returns a character vector with the names of the categories of the variables in the data frame
Nicolas Robette
ijunk
, speMCA
, csMCA
data(Music)
getindexcat(Music[,1:5])
mca <- speMCA(Music[,1:5], excl = c(3,6,9,12,15))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.