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.cv
string with the values "gcv" for generalised cross-validation or "cv" for cross-validation
nbsim
number of simulations, useful only if method.cv="cv"
pNA
percentage of missing values added in the data set, useful only if method.cv="cv"
threshold
the threshold for assessing convergence