This repository contains the data and code for the open access paper:
Roalkvam, Isak (2023). A simulation-based assessment of the relation between Stone Age sites and relative sea-level change along the Norwegian Skagerrak coast. Quaternary Science Reviews https://doi.org/10.1016/j.quascirev.2022.107880
Pre-print is online here:
Roalkvam, Isak (2023). A simulation-based assessment of the relation between Stone Age sites and relative sea-level change along the Norwegian Skagerrak coast. Online at https://doi.org/10.31235/osf.io/3x7ju
Please cite this compendium as:
Roalkvam, I (2022). Compendium of R code and data for assessing.sealevel.dating. Accessed 11 Nov 2022. Online at https://doi.org/10.17605/OSF.IO/7F9SU
The analysis directory contains:
- 📁 script: R programming scripts for analysing the data. The derived data is loaded in the R Markdown source document (below).
- 📁 paper: R Markdown source document
for manuscript. Includes code to reproduce the figures and tables
generated by the analysis. It also has a rendered version,
paper.pdf
, suitable for reading (the code is replaced by figures and tables in this file) - 📁 data: Raw and derived data
- 📁 figures: Plots and other illustrations
- 📁 supplementary-materials: Supplementary materials.
This research compendium has been developed using the statistical programming language R. To work with the compendium, you will need installed on your computer the R software itself and optionally RStudio Desktop.
You can download the compendium as a zip from from this URL:
master.zip. After unzipping: - open the .Rproj
file in RStudio - run devtools::install()
to ensure you have the
packages this analysis depends on (also listed in the
DESCRIPTION file). - open and run
analysis/script/00dtm_prep.R
to compile the necessary raster data. -
finally, open analysis/paper/paper.Rmd
and knit to produce the
paper.pdf
, or run rmarkdown::render("analysis/paper/paper.Rmd")
in
the R console
Text and figures : CC-BY-4.0
Code : See the DESCRIPTION file
Raster data in analysis/data/raw_data/tiled_dtm : NLOD
Remaining data : CC-0 attribution requested in reuse
We welcome contributions from everyone. Before you get started, please see our contributor guidelines. Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.