Usage
estim_ncpMCA(don, ncp.min=0, ncp.max=5, method = c("Regularized","EM"),
method.cv = c("gcv","loo","Kfold"), nbsim=100, pNA=0.05, threshold=1e-4)
Arguments
don
a data.frame with categorical variables; with missing entries or not
ncp.min
integer corresponding to the minimum number of components to test
ncp.max
integer corresponding to the maximum number of components to test
method
"Regularized" by default or "EM"
method.cv
string with the values "gcv" for generalised cross-validation, "loo" for leave-one-out or "Kfold" for cross-validation
nbsim
number of simulations, useful only if method.cv="Kfold"
pNA
percentage of missing values added in the data set, useful only if method.cv="Kfold"
threshold
the threshold for assessing convergence