checker: Checkerboard map builder

Description Usage Arguments Value Note Author(s) Examples

Description

A simple function for building 64x64 pixel checkerboard (categorical binary) maps with specified block sizes to be used as test maps.

Usage

1
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.

Note

This function only generates 64x64 binary maps for testing. Construction of larger maps will require a modificaiton of the source code.

Author(s)

Tarmo K. Remmel

Examples

1
checker(block = 4)

hdeco documentation built on May 30, 2017, 8:26 a.m.