powered by
This function generates a recmap object.
recmap
checkerboard(n = 8, ratio = 4)
returns a checkerboard as recmap object.
defines the size of the map. default is 8 which will generate a map having 64 regions.
defines the ratio of the statistical value. As default, the black regions have a value which is four times higher.
Christian Panse
recmap.
checkerboard8x8 <- checkerboard(8) plot(checkerboard8x8, col=c('white','white','white','black')[checkerboard8x8$z])
Run the code above in your browser using DataLab