CD() has been superseded by efa_cd(), which is the recommended interface
going forward. It remains available and unchanged so existing code keeps working.
CD(
x,
n_factors_max = NA,
N_pop = 10000,
N_samples = 500,
alpha = 0.3,
cor_method = c("pearson", "spearman", "kendall", "poly", "tetra"),
max_iter = 50
)An object of class efa_retention, identical to the value of
efa_cd(); see there for the components.
data.frame or matrix. Dataframe or matrix of raw data.
numeric. The maximum number of factors to test against. Larger numbers will increase the duration the procedure takes, but test more possible solutions. If left NA (default) the maximum number of factors for which the model is still over-identified (df > 0) is used.
numeric. Size of finite populations of comparison data. Default is 10000.
numeric. Number of samples drawn from each population. Default is 500.
numeric. The alpha level used to test the significance of the improvement added by an additional factor. Default is .30.
character. One of "pearson", "spearman", or "kendall",
passed to stats::cor(). "poly" and "tetra" are not supported because
CD compares the data against simulated continuous reference data.
Default is "pearson".
numeric. The maximum number of iterations after which the
iterative PAF procedure inside the comparison-data generation is halted; it
does not cap an EFA of x. Default is 50.
efa_cd()