es_lavaan: Item-level effect size for non-invariance

View source: R/dmacs.R

es_lavaanR Documentation

Item-level effect size for non-invariance

Description

For two groups, the function uses dmacs() to compute d_\text{MACS}. For more than two groups, the function uses fmacs() to compute f_\text{MACS}, a generalisation of d_\text{MACS} similar to the Cohen's f effect size.

Usage

es_lavaan(object, ...)

pin_effsize(object, ...)

Arguments

object

A CFA model of class lavaan::lavaan fitted by lavaan::cfa()

...

Additional arguments passed to dmacs() or fmacs()

Value

A matrix of 1 row showing the effect size values for each non-invariant item on each latent variable.


marklhc/pinvsearch documentation built on June 11, 2025, 6:43 a.m.