Description Usage Arguments Examples
View source: R/check_layout_generation.R
The function takes grid input, and generates the corresponding check layout
1 2 | check_layout_generation(n.row, n.col, by.density, gen.module,
p_rep_check = 0.05)
|
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 |
1 2 | nr = nc = 5; den = c(0.1, 0.2); gen.module=c('diagSet', 'random')
check_layout_generation(nr, nc, den, gen.module)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.