Repository supporting Wen et al. 2023: "Quantifying fire-specific smoke exposure and health impacts".
renv::restore()
can be used to recreate the project environment. See renv collaboration for more information on how to set up the environment.src/
contains themain.R
file, which has code to replicate figures.- Ensure that the working directory is set correctly (line 21) in
main.R
- Section headers are used to distinguish different figure plotting code.
- Ensure that the working directory is set correctly (line 21) in
- Data can be downloaded from Dropbox.
- The
data/
folder should be in the same root folder assrc/
andoutput/
.
- The
- Generated figures will be located in the
output/
folder.- The
output/
folder andfig1/
-fig5/
andfigsupp/
subfolders will need to be created for themain.R
script to save figures in the default locations.
- The