checkerboard: Create a Checkboard

View source: R/recmap.R

checkerboardR Documentation

Create a Checkboard

Description

This function generates a recmap object.

Usage

checkerboard(n = 8, ratio = 4)

Arguments

n

defines the size of the map. default is 8 which will generate a map having 64 regions.

ratio

defines the ratio of the statistical value. As default, the black regions have a value which is four times higher.

Value

returns a checkerboard as recmap object.

Author(s)

Christian Panse

See Also

  • recmap.

Examples


checkerboard8x8 <- checkerboard(8)

plot(checkerboard8x8, 
  col=c('white','white','white','black')[checkerboard8x8$z])


recmap documentation built on Sept. 24, 2023, 1:08 a.m.