powered by
This function generates a layout grid with checks on diagonal (pre-designed)
diagSet_check_by_density(n.row, n.col, by.density)
The row of the retangular grid
The column of the retangular grid
The density of the checks, range from 0.01 to 0.35
# 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