Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ex_mcfa1

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

R to Symbolic Data Analysis

v3.0.12
GPL (>= 2)
Authors
Oldemar Rodriguez [aut, cre], Jose Emmanuel Chacon [cph], Carlos Aguero [cph], Jorge Arce [cph]
Initial release
2022-07-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.