Build composites from wide dyadic data, reshape to long format, and fit a
one-way random effects model to estimate the intraclass correlation (ICC).
Used internally when model = "ICC_LMM" in fit_dyadic_model.
Arguments
- dat
Data frame with indicator variables (e.g., x1_A, x2_A, x1_B, x2_B).
- dvn
Dvn from
dySEM::build_dvn()ordySEM::scrapeVarCross()withp1xvarnamesandp2xvarnames.
Value
Fitted lmerMod object from dyLMM::fitICC, or NULL
on failure.
See also
Other analysis:
fit_dyadic_model()
