View source: R/response_list.R
response_list | R Documentation |
Generate the response list from a matriks (correct response and distractors)
response_list(obj, seed, ...)
## S3 method for class 'matriks'
response_list(obj, seed = 666, ...)
obj |
matriks, The matriks for which the distractor is generated |
seed |
seed |
... |
other arguments |
An object of class responses of length 11, containing the correct response + 10 distractors (3 repetition, 1 difference, 2 wrong principles, 4 incomplete correlate)
An object of class responses of length 11, containing the correct response + 10 distractors (3 repetition, 1 difference, 2 wrong principles, 4 incomplete correlate)
response_list(matriks)
: Response list
Generate the response list from a matriks (correct response and distractors)
# create a matrix
m1 <- mat_apply(hexagon(), hrules = "lty", vrules = "size")
# draw the matrix
draw(m1)
# draw the responses
draw(response_list(m1))
# change the difference distractor by changing the random seed
draw(response_list(m1, seed = 8))
# create a matrix
m1 <- mat_apply(hexagon(), hrules = "lty", vrules = "size")
# draw the matrix
draw(m1)
# draw the responses
draw(response_list(m1))
# change the difference distractors by changing the random seed
draw(response_list(m1, seed = 8))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.