Skip to content

Jacobzwj/drawgrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drawgrid

This is a R package to generate some n*n grids and randomly generate n points within the grids.

Why need this

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.

Installing

devtools::install_github("Jacobzwj/drawgrid")

Dependencies:

ggplot2
progress

How to use

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)

1 2 3 4

About

This is a R package to generate some n*n grids and randomly generate n points within the grids

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages