chessboard: Distorted Chessboard

Description Usage Arguments Value Side effects References See Also Examples

Description

Draw a distorted chessboard.

Usage

1
chessboard(color = "black", seed = NULL)

Arguments

color

a single color.

seed

an integer giving the argument for set.seed.

Value

nothing useful.

Side effects

create a plot on the current graphics device, and modify the random seed.

References

http://www.burns-stat.com/documents/books/tao-te-programming/

See Also

canvas, set.seed.

Examples

1
2
3
4
# a specific picture
chessboard(sample(colors(), 1), seed=7)
# different each time
chessboard(sample(colors(), 1))

TaoTeProgramming documentation built on May 1, 2019, 6:47 p.m.