Description Usage Arguments Examples
View source: R/random_check_by_density.R
This function generate a random spatial layout of checks
1 | random_check_by_density(n.row, n.col, by.density)
|
n.row |
The row of the retangular grid |
n.col |
The column of the retangular grid |
by.density |
The density of checks |
1 2 3 | nr=nc=5
tmp = random_check_by_density(nr, nc, .1)
fields::quilt.plot(tmp, nx=nr, ny=nc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.