preprocess: Pre-process data.

View source: R/preprocess.R

preprocessR Documentation

Pre-process data.

Description

Pre-process data.

Usage

preprocess(
  item.data,
  pred.data,
  prox.data,
  item.type,
  pen.type,
  tau,
  num.tau,
  anchor,
  stdz,
  control,
  call
)

Arguments

item.data

Matrix or data frame of item responses.

pred.data

Matrix or data frame of DIF and/or impact predictors.

prox.data

Vector of observed proxy scores.

item.type

Character value or vector indicating the item response distributions.

pen.type

Character indicating type of penalty.

tau

Optional numeric vector of tau values.

num.tau

Numeric indicating number of tau values to run Reg-DIF on.

anchor

Optional numeric value or vector indicating which item response(s) are anchors (e.g., anchor = 1).

stdz

Logical value indicating whether to standardize DIF and impact predictors for regularization.

control

Optional list of additional model specification and optimization parameters.

call

Defined from regDIF.

Value

a "list" of default controls for "em_estimation"


regDIF documentation built on May 29, 2024, 9:31 a.m.