| mca_bootstrap | R Documentation |
Evaluates reproducibility of retained MCA dimensions via bootstrap resampling. Quantifies stability using Procrustes principal angles (subspace-level) and Tucker's congruence coefficients (dimension-level).
mca_bootstrap(data, vars, K, B = 2000, seed = 20260123, verbose = TRUE)
data |
Data frame or path to .xlsx file |
vars |
Character vector of binary variable names |
K |
Integer, number of dimensions to retain and assess |
B |
Integer, number of bootstrap resamples (default: 2000) |
seed |
Integer, random seed for reproducibility |
verbose |
Logical, print progress messages |
S3 object of class mca_bootstrap containing:
ref |
Reference MCA fit |
K |
Number of dimensions assessed |
B |
Number of bootstrap resamples |
angles |
Matrix of principal angles ( |
tucker |
Matrix of Tucker congruence coefficients ( |
angles_summary |
Summary statistics for angles |
tucker_summary |
Summary statistics for congruence |
data(ANR2)
boot <- mca_bootstrap(ANR2, vars = names(ANR2), K = 3, B = 100)
print(boot)
plot(boot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.