preprocess | R Documentation |
Pre-process data.
preprocess(
item.data,
pred.data,
prox.data,
item.type,
pen.type,
tau,
num.tau,
anchor,
stdz,
control,
call
)
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., |
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. |
a "list"
of default controls for "em_estimation"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.