View source: R/generate_responses.R
generate_test_responses | R Documentation |
Generates simulated responses to a test given informations about items values of latent traits.
generate_test_responses(
theta,
items,
performAssertions = TRUE,
tryConvertToNumeric = TRUE
)
theta |
a matrix (or data frame) of already generated latent traits' values |
items |
a list with test items' specification |
performAssertions |
a logical value indicating whether function should
perform assertions of the other arguments ( |
tryConvertToNumeric |
a logical value indicating whether function should try to convert generated responses to numeric values (technically responses are get from rownames of the items' scoring matrices that are character vectors) |
matrix with responses on items
generate_item_responses_sqn
,
generate_item_responses_sml
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.