difference {matRiks}R 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)

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))

[Package matRiks version 0.1.3 Index]