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. Dataframe or matrix of raw data or matrix with correlations.
- N
numeric. The number of observations. Needs only be specified if a correlation matrix is used.
- use
character. Passed to
stats::cor()if raw data is given as input. Default is "pairwise.complete.obs".- cor_method
character. One of
"pearson","spearman", or"kendall", passed tostats::cor()."poly"and"tetra"are not supported becauseSMTrests on a normal-theory chi-square test that is not valid for polychoric / tetrachoric correlations. Default is"pearson".
Value
An object of class efa_retention, identical to the value of
efa_smt(); see there for the components.