pfa_mlm: A function to explore reasons for person misfit.

Description Usage Arguments

View source: R/pfa_mlm.R

Description

A function to explore reasons for person misfit.

Usage

1
2
3
4
5
6
7
8
pfa_mlm(
  pfa_object,
  wizirt_fit,
  rownames = NULL,
  predictors = NULL,
  method = NULL,
  bins = 5
)

Arguments

pfa_object

An object of class wizirt_pfa (i.e. from irt_person_fit)

wizirt_fit

An object of class wizirt_irt (i.e. from fit_wizirt)

rownames

A vector of unique IDs to identify the rows (i.i person IDs).

predictors

Either a matrix or dataframe with a row per person and a column per predictor.

method

Either 'Reise' (the default for Rasch) or 'Conijn' (2PL default)

bins

For method == 'Conijn' only. Either a number indicating how many bins to break up items into, or a vector of proportions for as many groups as are desired. If a vector, must sum to 1.


Pflegermeister/wizirt2 documentation built on Oct. 23, 2020, 1:29 a.m.