Rdocumentation
powered by
Learn R Programming
hdeco (version 0.4.1)
checker: Checkerboard map builder
Description
A simple function for building 64x64 pixel checkerboard (categorical binary) maps with specified block sizes to be used as test maps.
Usage
checker(block = 4)
Arguments
block
The number of pixels that form the edge of a single colour block. For example, 4 will yield a checkerboard with 16 pixel squares.
Value
This function returns a binary integer matrix with dimensions 64x64.
Examples
Run this code
checker(block =
4
)
Run the code above in your browser using
DataLab