Skip to contents

Makes use of the psychotree package, which also allows for interactions between DIF variables, see RIdifTable2().

Usage

RIdifTable(dfin, dif.var, cutoff = 0.5, table = TRUE)

Arguments

dfin

Dataframe with item data only

dif.var

DIF variable

cutoff

Cutoff in item location logit difference for table highlighting

table

Set to TRUE = output a table object, and FALSE = dataframe difTablePCM

Details

DIF variables need to be vectors with the same length as the number of rows in the dataset.

sample usage: RIdifTable(df, dif.age)