Coder Social home page Coder Social logo

zabinskie's Introduction

Read Me

This repository includes all the code needed to replicate the manuscript "Review and test of reproducibility of sub-decadal resolution palaeoenvironmental reconstructions from microfossil assemblages" which explores the ecological, taphonomic and chronological challenges faced by sub-decadal resolution palaeoenvironmental reconstructions from microfossil assemblages using transfer functions.

The manuscript also examines the available data for several chironomid-based reconstructions and finds several errors and anomalous patterns.

Reproducing the manuscript

The code is written in R and used rmarkdown to render the manuscript. I recommend using RStudio, but you can reproduce the manuscript directly in R, but you have to take care of the working directory and packrat yourself.

  1. Install non-R dependencies. The code needs GDAL. On Windows, this is installed automatically when the rgdal package is installed, on Linux and Mac you need to install it manually. The manuscript is turned into a pdf by the tinytex package. This needs TinyTeX, which can be installed by running tinytex::install_tinytex() in R.

  2. Clone this repo by clicking on the green button above and copying the URL. Now, in RStudio go to File > New Project... > Version Control > Git, paste in the URL and fill in the desired folder name and path.

  3. The code uses packrat to track the versions of the R packages used. packrat should start automatically and download packages. This may take some time. If nothing happens, or it the process needs restarting, force packrat with packrat::restore().

  4. For convenience, all of the data sets required for the analysis have been pushed to GitHub (Data are available under their original license). The exception is the data for Speke Hall Lake which the authors have agreed to archive in 2019.

  5. The file "make_limitations_of_high_res_quant_palaeo_manuscript.R" contains the drake plan that will run all analyses and render the manuscript as a PDF. Source this file into R with

source("make_limitations_of_high_res_quant_palaeo_manuscript.R")

zabinskie's People

Contributors

richardjtelford avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

gavinsimpson

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.