Learn R Programming

SpatialFloor (version 1.1.0)

diagSet_check_by_density: Generate a spatial layout of checks by diagonal design (settle for density = .1 - .35

Description

This function generates a layout grid with checks on diagonal (pre-designed)

Usage

diagSet_check_by_density(n.row, n.col, by.density)

Arguments

n.row

The row of the retangular grid

n.col

The column of the retangular grid

by.density

The density of the checks, range from 0.01 to 0.35

Examples

Run this code
# NOT RUN {
nr=10; nc=20; den=0.2
diagSet_check_by_density(n.row=nr, n.col=nc, by.density=den)
# }

Run the code above in your browser using DataLab