getindexcat: Returns the names of the categories in a data frame

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Returns a vector of names corresponding the the categories in a data frame exclusively composed of categorical variables.

Usage

1

Arguments

data

data frame of categorical variables

Details

This function may be useful prior to a 'specific' MCA, to identify the indexes of the 'junk' categories to exclude.

Value

Returns a character vector with the names of the categories of the variables in the data frame

Author(s)

Nicolas Robette

See Also

speMCA, csMCA

Examples

1
2
3
data(Music)
getindexcat(Music[,1:5])
mca <- speMCA(Music[,1:5],excl=c(3,6,9,12,15))


Search within the GDAtools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.