Learn R Programming

matRiks (version 0.1.3)

repetition: Repetition distractors (Method)

Description

Generate repetition distractors from a matriks

Usage

repetition(obj, ...)

# S3 method for matriks repetition(obj, ...)

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.

Arguments

obj

matriks, The matriks for which the distractor is generated

...

other arguments

Methods (by class)

  • repetition(matriks): Repetition distractors (Method)

    Generate repetition distractors from a matriks

Examples

Run this code
# 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))

Run the code above in your browser using DataLab