n_invariant: Get the number of groups which show invariance with each of...

View source: R/helpers.R

n_invariantR Documentation

Get the number of groups which show invariance with each of the groups

Description

Get the number of groups which show invariance with each of the groups

Usage

n_invariant(fit, sort = F, fit.index = "cfi", cutoff = 0.01, drop = NA)

Arguments

fit

Output of incrementalFit.

sort

Logical. Should the results be sorted?

fit.index

Character. What measure should be used?

cutoff

The cutoff of the difference in 'fit.index' to decide whether invariance holds.

drop

Character list of the groups that should be excluded from calculations.

Value

Returns a data frame with two columns: group name and the number of groups with invariant parameters.


MaksimRudnev/MIE.package documentation built on March 5, 2024, 1:24 p.m.