difference: Difference distractor (Method)

View source: R/difference.R

differenceR Documentation

Difference distractor (Method)

Description

Generate difference distractor from a matriks

Usage

difference(obj, seed, ...)

## S3 method for class 'matriks'
difference(obj, seed = 666, ...)

Arguments

obj

matriks, The matriks for which the distractor is generated

seed

seed

...

other arguments

Value

An object of class figure that is the difference distractor of a matrix

An object of class figure that is the difference distractor of a matrix

Methods (by class)

  • difference(matriks): Difference distractors

Examples

# create a matrix
m1 <- mat_apply(hexagon(), hrules = "lty")
# draw the matrix
draw(m1)
# draw the difference distractor
draw(difference(m1))
# create a matrix
m1 <- mat_apply(hexagon(), hrules = "lty")
# draw the matrix
draw(m1)
# draw the difference distractor
draw(difference(m1))

matRiks documentation built on May 29, 2024, 5:56 a.m.