Modifiable reporting unit problems and time series of long-term human activity: source code, data, and scripts
This repository contains all data and scripts required to fully reproduce figures and simulations for the following article:
Bevan,A., Crema, E.R. (2021), Modifiable reporting unit problems and time series of long-term human activity, Philosophical Transactions of the Royal Society B, 376: 20190726, DOI: 10.1098/rstb.2019.0726
R scripts for running the simulations are stored in the file simulation_log.R. This requires some additional functions stored in /src/utility.R. Simulation outputs required for the figures are stored as R image files in the folder R_Images.
R scripts for generating the figures in the manuscript are contained in the file figures/figurelog.R. Raw data required for figure 1 are stored in the folder data.
The electronic supplementary material (ESM.pdf) contains additional details about the three simulations. This is just a rendered version of the Rmardkdown file ESM.Rmd.
- rcarbon 1.3.2 (this is the development version: To install:
devtools::install_github('ahb108/rcarbon@5bb28cf')
) - trapezoid 2.0.0
- oxcAAR 1.0.0