make_item | R Documentation |
Function mostly performs checks whether provided arguments are reasonable and match each other.
make_item(
scoringMatrix,
slopes,
intercepts,
mode = c("irtree", "gpcm"),
scoringOnPreviousResponses = NULL,
editResponse = NULL
)
scoringMatrix |
a matrix describing how responses (described in rownames of the matrix) map on scores of latent traits (described in columns of the matrix) |
slopes |
a named numeric vector of slope (discrimination)
parameters with names describing latent variables matching each slope
(must contain at least all the names occurring in column names of the
|
intercepts |
a numeric vector of intercept parameters (must be shorter
of one than number of rows in the |
mode |
the way the item should be answered - see
|
scoringOnPreviousResponses |
an optional function returning a column vector
that will be put before first column of the |
editResponse |
only if |
An object of class rstylesItem representing an item. List of
such objects is passed as a test specification to
generate_test_responses
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.