The goal of erf-numerical-results
is to reproduce the results of the
paper.
Make sure you install the packages listed in main/dependencies.R
. In
particular, you will need the erf
package. To install it, run:
# install.packages("devtools")
devtools::install_github("nicolagnecco/erf")
To create the figures in the paper, you can run
main/plots_for_manuscript.R
.
source("main/plots_for_manuscript.R")
To run the code that produced the figures, you can run one of the
individual files main/sec_*.R
. Make sure to set the parameter
RUN_SIMULATION <- TRUE
at the top of the file you want to run.
Note: some simulations are computationally heavy, and run in
parallel with 8–12 workers. To change the number of workers, specify
n_workers
in the file or its corresponding configs/
file.