ex_mcfa1: Multiple Correspondence Analysis Example

ex_mcfa1R Documentation

Multiple Correspondence Analysis Example

Description

example for the sym.mcfa function.

example for the sym.mcfa function.

Usage

data(ex_mcfa1)

ex_mcfa1

Format

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

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

Examples

data("ex_mcfa1")
sym.table <- classic.to.sym(ex_mcfa1,
                            concept = suspect,
                            hair = sym.set(hair),
                            eyes = sym.set(eyes),
                            region = sym.set(region))

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

data("ex_mcfa1")
sym.table <- classic.to.sym(
  x = ex_mcfa1,
  concept = "suspect",
  variables = c(hair, eyes, region),
  hair = sym.set(hair),
  eyes = sym.set(eyes),
  region = sym.set(region)
)
sym.table

RSDA documentation built on July 16, 2022, 9:06 a.m.