difviz: A Function that ggplots Uniform or Nonuniform DIF

Description Usage Arguments Value Examples

View source: R/difviz.R

Description

This function takes output from getdifests and creates a geom_tile viz to show uniform or non-uniform DIF. Rows for items that aren't flaged as showing sig. DIF are more translucent

Usage

1
difviz(ests, type = NULL, covtitle, lvtitle)

Arguments

ests

output df of measurement model parameters from difests

type

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

covtitle

character input of name for covariate (both on x-axis title, and in file name)

lvtitle

character input for name of lv (for file naming)

Value

a ggplot of uniform or nonuniform DIF

Examples

1
uni.plot <- difviz(ests, type = "ints", covtitle = "Social Class", lvtitle "Satisfaction")

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