View source: R/model_performance.psych.R
| model_performance.fa | R Documentation |
Compute indices of model performance for models from the psych package,
and for parameters::factor_analysis() and item_omega().
## S3 method for class 'fa'
model_performance(model, metrics = "all", verbose = TRUE, ...)
model |
A model object of class |
metrics |
Can be |
verbose |
Toggle off warnings. |
... |
Arguments passed to or from other methods. |
For omega-models, the columns R2 and Correlation are measures of factor
score adequacy. R2 refers to the multiple R square of scores with factors,
while Correlation indicates the correlation of scores with factors.
A data frame (with one row) and one column per "index" (see
metrics).
out <- psych::fa(psychTools::bfi[, 1:25], 5)
model_performance(out)
out <- item_omega(mtcars, n = 3)
model_performance(out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.