From 5fc13042805fee4a0905039720f7b8bec5ea6f78 Mon Sep 17 00:00:00 2001 From: Adam Kucharski Date: Fri, 21 Jun 2024 06:37:25 +0100 Subject: [PATCH] Add cores Co-authored-by: Andree Valle Campos --- analyses/reconstruct_transmission/estimate_infections.qmd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/analyses/reconstruct_transmission/estimate_infections.qmd b/analyses/reconstruct_transmission/estimate_infections.qmd index 143af85..82a6c35 100644 --- a/analyses/reconstruct_transmission/estimate_infections.qmd +++ b/analyses/reconstruct_transmission/estimate_infections.qmd @@ -32,6 +32,9 @@ library(cfr) # for Ebola data (included in this package) library(dplyr) # to format input and outputs library(ggplot2) # to generate plots +# Set number of cores +withr::local_options(list(mc.cores = 4)) + # - - - # Example 1: reconstruct SARS-CoV-2 infection dynamics in the UK from daily data on deaths, 2020 # - - -