getdifests: A Function that Creates a Filtered df for DIF plotting

Description Usage Arguments Value Examples

View source: R/getdifests.R

Description

This function takes output from difests and filters it to a set of loadings or intercepts. User can specify a vector of items that show significant DIF for intercepts (uniform) or loadings (non-uniform) for later enhanced plotting

Usage

1
getdifests(out, type = NULL, sig.uni = NULL, sig.nonuni = NULL)

Arguments

out

output df of measurement model parameters from difests

type

whether user wants to extract loading ("loads") or interpts "ints"

sig.uni

an optional character vector of item #s that show significant uniform DIF

sig.nonuni

an optional character vector of item #s that show significant non-uniform DIF

Value

a filtered data frame ready for ggplot

Examples

1
ests <- getdifests(out, type = "loads", sig.nonuni = sig.nonuni)

jsakaluk/psyscores documentation built on Dec. 16, 2021, 6:50 p.m.