Learn R Programming

DMAR (version 1.0.0)

tidy.dmar_cfa_k: Tidy a Multiple-Factor CFA Fit

Description

Returns the parameter rows of a cfa_k table (loadings, error variances, intercepts, latent correlations, and the defined measurement properties) in the column convention used by the broom ecosystem. Fit-information rows belong in glance.dmar_cfa_k.

Usage

# S3 method for dmar_cfa_k
tidy(x, ...)

Value

A data.frame with columns term,

estimate, se, statistic,

p_value, ci_lower, ci_upper.

Arguments

x

A dmar_cfa_k object returned by cfa_k.

...

Unused.

Author

Ken Kelley [email protected]

Examples

Run this code
data(holzinger_swineford)
res <- cfa_k(holzinger_swineford,
             list(verbal = c("t6_paragraph_comprehension",
                             "t7_sentence", "t9_word_meaning"),
                  deduction = c("t20_deduction",
                                "t22_problem_reasoning",
                                "t23_series_completion")))
generics::tidy(res)
generics::glance(res)

Run the code above in your browser using DataLab