dagger-research/analysis/block-discovery-sim
Giuliano Mega 1d23b31461
Block discovery simulator and analysis (#175)
* add block discovery simulator

* add analysis document for simpler cases of block discovery
2023-09-27 23:45:58 -06:00
..
R Block discovery simulator and analysis (#175) 2023-09-27 23:45:58 -06:00
renv Block discovery simulator and analysis (#175) 2023-09-27 23:45:58 -06:00
tests Block discovery simulator and analysis (#175) 2023-09-27 23:45:58 -06:00
.Rbuildignore Block discovery simulator and analysis (#175) 2023-09-27 23:45:58 -06:00
.Rprofile Block discovery simulator and analysis (#175) 2023-09-27 23:45:58 -06:00
.gitignore Block discovery simulator and analysis (#175) 2023-09-27 23:45:58 -06:00
DESCRIPTION Block discovery simulator and analysis (#175) 2023-09-27 23:45:58 -06:00
README.md Block discovery simulator and analysis (#175) 2023-09-27 23:45:58 -06:00
block-discovery-sim.Rmd Block discovery simulator and analysis (#175) 2023-09-27 23:45:58 -06:00
block-discovery-sim.Rproj Block discovery simulator and analysis (#175) 2023-09-27 23:45:58 -06:00
renv.lock Block discovery simulator and analysis (#175) 2023-09-27 23:45:58 -06:00

README.md

Simple Block Discovery Simulator

Simple simulator for understanding of block discovery dynamics.

Hosted Version

You can access the block discovery simulator on shinyapps

Running

You will need R 4.1.2 with renv installed. I also strongly recommend you run this from RStudio as you will otherwise need to install pandoc and set it up manually before running.

Once that's cared for and you are in the R terminal (Console in RStudio), you will need to first install deps:

> renv::install()

If you are outside RStudio, then you will need to restart your R session. After that, you should load the package:

devtools::load_all()

run the tests:

testthat::test_package('blockdiscoverysim')

and, if all goes well, launch the simulator:

run()