Description Usage Arguments Value Examples
View source: R/scoring_matrices.R
Makes trivial response matrix, corresponding to the most simple,
the same for each trait GPCM scoring scheme. This function may be useful if
one wants to use generate_slopes
and
generate_intercepts
functions to generate items' parameters
with no reference to response styles.
1 2 3 4 5 | make_scoring_matrix_trivial(
responses,
nTraits = 1L,
traitsNames = paste0("F", 1L:nTraits)
)
|
responses |
vector of available responses (categories) - can be a character vector or positive integer describing number of responses |
nTraits |
optionally number of traits affecting the item response;
disregarded if |
traitsNames |
optionally character vector containing names of the traits |
matrix of integers
1 2 | make_scoring_matrix_trivial(5, 2)
make_scoring_matrix_trivial(5, traitsNames = c("A", "B"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.