ex_mcfa2 {RSDA}R Documentation

Multiple Correspondence Analysis Example

Description

example for the sym.mcfa function.

Usage

data(ex_mcfa2)

Format

An object of class data.frame with 130 rows and 7 columns.

Examples

data("ex_mcfa2")

ex <- classic.to.sym(ex_mcfa2,
                    concept = employee_id,
                     variables = c(employee_id, salary, region, evaluation, years_worked),
                     salary = sym.set(salary),
                     region = sym.set(region),
                     evaluation = sym.set(evaluation),
                     years_worked = sym.set(years_worked))

res <- sym.mcfa(ex, c(1,2,3,4))
mcfa.scatterplot(res[,1], res[,2], sym.data = ex, pos.var = c(1,2,3,4))


[Package RSDA version 3.2.1 Index]