check_layout_generation: This is a wrapper function of check layout generation

Description Usage Arguments Examples

View source: R/check_layout_generation.R

Description

The function takes grid input, and generates the corresponding check layout

Usage

1
2
check_layout_generation(n.row, n.col, by.density, gen.module,
  p_rep_check = 0.05)

Arguments

n.row

The row of the grid layout

n.col

The column of the grid layout

by.density

The density of the check in the layout. The parameter can be a vector

gen.module

The pattern module of check layout, 'diagonal', 'diagSet', 'random', 'equal_space', 'p_rep'. The diagSet provides more homogeneized design than the diagonal at density from 0.01 to 0.35. The parameter can be a vector

p_rep_check

The check density in the p_rep design, default 0.05

Examples

1
2
nr = nc = 5; den = c(0.1, 0.2); gen.module=c('diagSet', 'random')
check_layout_generation(nr, nc, den, gen.module)

SpatialFloor documentation built on April 26, 2018, 5:04 p.m.