Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Jacobzwj/drawgrid

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

AltStyle によって変換されたページ (->オリジナル) /