getVarNames: Get the names of variables from the levels of the columns in...

View source: R/goodies4MCA.R

getVarNamesR Documentation

Get the names of variables from the levels of the columns in an MCA performed with ExPosition::epMCA.

Description

getVarNames Get the names of variables from the levels of the columns in an MCA performed with ExPosition::epMCA.

Usage

getVarNames(labelsNames)

Arguments

labelsNames

The name of the labels, typically from the output of ExPosition::epMCA

Details

This is a helper function for some other helper functions for ExPosition::epMCA.

Value

A list with 3 vectors of the original factor names: variableNames: The names of the variables, stripedNames: The names of the levels of the variables striped of their extensions, originalLabelsNames: The original label names.

Author(s)

Hervé Abdi

See Also

fileutils

Examples

## Not run: 
if(interactive()){
 # an example from ExPosition
library(ExPosition)
data(mca.wine)
lesRes <- epMCA(mca.wine$data, graphs = FALSE)
nameOffactors <- getVarNames(rownames(lesRes$ExPosition.Data$fj) )
 }

## End(Not run)

HerveAbdi/data4PCCAR documentation built on Sept. 11, 2022, 4:19 p.m.