mca.eigen.check: MCA Eigenvalue check

Description Usage Arguments Value Examples

View source: R/functions_tools.r


Two variables that have perfectly or almost perfectly overlapping sets of categories will skew an mca analysis. This function tries to find the variables that do that so that we may remove them from the analysis or set some of the categories as passive. An MCA is run on all pairs of variables in the active dataset and we take first and strongest eigenvalue for each pair. Values range from 0.5 to 1, where 1 signifies a perfect or near perfect overlap between sets of categories while 0.5 is the opposite - a near orthogonal relationship between the two variables. While a eigenvalue of 1 is a strong candidate for intervention, probably exclusion of one of the variables, it is less clear what the lower bound is. But values around 0.8 are also strong candidates for further inspection.


mca.eigen.check(active, passive = "Missing")



a data.frame of factors


a character vector with the full or partial names of categories to be set as passive. Each element in passive is passed to a grep function.


a tibble


2 documentation built on Sept. 5, 2021, 5:21 p.m.