This is a R package to generate some n*n grids and randomly generate n points within the grids.
For academic research: The figures (grids with points) generated by this package can be used to conduct cognitive load task, like "dot memorization task" (Miyake et al., 2001) for a experiment/survey experiment, which can burden participants' congitive resources.
devtools::install_github("Jacobzwj/drawgrid")ggplot2
progress
library(drawgrid)
#example: generate a 4*4 empty grids, and randomly generate 5 points in the grids, if we need 4 figures
draw(n_grid =4,n_point =5,n_figure =6)
#or just run → draw(4,5,6)


