powered by
This function generate a random spatial layout of checks
random_check_by_density(n.row, n.col, by.density)
The row of the retangular grid
The column of the retangular grid
The density of checks
# NOT RUN { nr=nc=5 tmp = random_check_by_density(nr, nc, .1) fields::quilt.plot(tmp, nx=nr, ny=nc) # }
Run the code above in your browser using DataLab