covfilters: A Function to Extract Covariate Levels for DIF Visualization

Description Usage Arguments Value Examples

View source: R/covfilters.R

Description

This function takes the outputted df from prods and generates the lavaan script necessary to fit a RFA model of uniform and non-uniform DIF

Usage

1
covfilters(df, covname, levs)

Arguments

df

input data frame consisting of factor indicators and DIF covariate

covname

input character vector name for DIF covariate in df

levs

range of covariate levels for DIF examination (returned by covlevs)

Value

a list of filtered data frames consiting of the indicators of the factor (one per level of levs)

Examples

1
filter.list <- covfilters(df, covname = "pers.lad", levs)

jsakaluk/scripty documentation built on Dec. 31, 2021, 9:17 p.m.