SMT() has been superseded by efa_smt(), which is the recommended interface
going forward. It remains available and unchanged so existing code keeps working.
Arguments
- x
data.frame or matrix. Raw data or a correlation matrix.
- N
numeric. The number of observations. Only needed if
xis a correlation matrix. Must be larger than the number of variables.- use
character. Passed to
stats::cor()for raw data. Default is"pairwise.complete.obs".- cor_method
character. One of
"pearson","spearman", or"kendall", passed tostats::cor(). Default is"pearson"."poly"and"tetra"are not supported because the sequential model test rests on a normal-theory chi-square test that is not valid for polychoric / tetrachoric correlations.
Value
An object of class efa_retention, identical to the value of
efa_smt(); see there for the components.