repetition {matRiks} | R Documentation |
Repetition distractors (Method)
Description
Generate repetition distractors from a matriks
Usage
repetition(obj, ...)
## S3 method for class 'matriks'
repetition(obj, ...)
Arguments
obj |
matriks, The matriks for which the distractor is generated |
... |
other arguments |
Value
An object of class responses of length 3, which contains the repetition distractors of a matriks (R-Left, R-Top, R-Diag). If the distractor could not be generated because of the constraints imposed by the matrix, it will be covered by a thick, black X and a warning is given.
An object of class responses of length 3, which contains the repetition distractors of a matriks (R-Left, R-Top, R-Diag). If the distractor could not be generated because of the constraints imposed by the matrix, it will be covered by a thick, black X and a warning is given.
Methods (by class)
-
repetition(matriks)
: Repetition distractors (Method)Generate repetition distractors from a matriks
Examples
# create a matrix
m1 <- mat_apply(pacman(), hrules = "lty")
m2 <- mat_apply(dot(), "shade")
mat <- com(m1, m2)
# draw the matrix
draw(mat)
# draw the repetition distractors
draw(repetition(mat))
# create a matrix
m1 <- mat_apply(pacman(), hrules = "lty")
m2 <- mat_apply(dot(), "shade")
mat <- com(m1, m2)
# draw the matrix
draw(mat)
# draw the repetition distractors
draw(repetition(mat))