separate: splits item response vectors of DIF items by group

Description Usage Arguments Details Value Author(s) Examples

View source: R/separate.R

Description

Splits item response vectors of DIF items into separate group-specific vectors.

Usage

1
  separate(resp, flag, gr)

Arguments

resp

a data frame (or matrix) of item responses

flag

a vector of DIF flags

gr

a vector of group identifiers

Details

To obtain group specific item calibrations, response vectors of DIF items are split into multiple vectors by group and treated as separate items.

Value

Returns a data frame with item response vectors for non-DIF items followed by separated item response vectors for DIF items

Author(s)

Seung W. Choi <choi.phd@gmail.com>

Examples

1
## Not run: separate(resp,flag,gr)

lordif documentation built on May 2, 2019, 2:13 p.m.