I have a dataset like the one below (with qualitative variable) and I need to apply Benzecrì correction on the dataframe that i will use for the MCA or on the function res.mca,
gender | Income |
---|---|
Male | from 10-15 |
Female | from 15-20 |
Ecc...
This is the function I'm using for MCA
res.mca <- MCA(df, ncp = 5, graph = TRUE, method = "Burt")
I think I probably need to apply a function or something, can someone help?
This should work
or use
from
https://search.r-project.org/CRAN/refmans/ExPosition/html/mca.eigen.fix.html