getDyReliability {dySEM} | R Documentation |
A Function Calculates Omega Total Coefficients from a Dyadic CFA
Description
This function takes the model from fitted scriptCFA() scripts and returns omega total coefficients for each dyad member, adapted following Formula 2 in McNeish (2018).
Usage
getDyReliability(dvn, fit)
Arguments
dvn |
input dvn list from scrapeVarCross |
fit |
outputted dyadic cfa lavaan object based on the default (i.e., "configural") dyadCFA() function |
Value
a tibble/data frame with calculated omega total coefficients for dyad Member 1 and Member 2
See Also
Other supplemental model calculators:
getDydmacs()
,
getIndistFit()
Examples
dvn <- scrapeVarCross(dat = commitmentQ, x_order = "spi", x_stem = "sat.g", x_delim1 = ".",
x_delim2="_", distinguish_1="1", distinguish_2="2")
sat.indist.script <- scriptCFA(dvn, lvname = "Sat")
sat.indist.mod <- lavaan::cfa(sat.indist.script, data = commitmentQ, std.lv = FALSE,
auto.fix.first= FALSE, meanstructure = TRUE)
getDyReliability(dvn, sat.indist.mod)
[Package dySEM version 1.0.0 Index]