dagger-research/analysis/block-discovery-sim/README.md

1.0 KiB

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()