Giter VIP home page Giter VIP logo

plant_paper's Introduction

Paper about the plant package

This repository contains code needed to reproduce the article:

Falster DS, FitzJohn RG, Brännström Å, Dieckmann U, Westoby M (2016) plant: A package for modelling forest trait ecology & evolution. Methods in Ecology and Evolution 7: 136-146. (doi: 10.1111/2041-210X.12525

Instructions

Recreating all the figures from the paper will take around 2 hrs.

Install relevant software

All analyses were done in R. You need to download this repository, and then open an R session with working directory set to the root of the project.

To compile the paper, including figures and supplementary material we use the remake package for R. You can install remake using the devtools package (run install.packages("devtools") to install devtools if needed):

devtools::install_github("richfitz/storr", dependencies=TRUE)
devtools::install_github("richfitz/remake", dependencies=TRUE)

We use the non-CRAN packages plant and sowsear. These can be installed by remake:

remake::install_missing_packages()

Compilation requires also pandoc, or the rmarkdown renderer will fail with a cryptic error (version 0.5.1 at least). Finally, compiling the paper requires a reasonably complete LaTeX installation (e.g. MacTeX for OSX or MikTex for windows). The LaTeX compilation will depend on a few packages from CTAN, make sure to allow automatic package installation by your LaTeX distribution

Re run analyses

To compile everything, run

remake::make()

Compiling just the figures and manuscript can be done with:

remake::make("ms.pdf")

and should only take 20 minutes or so.

plant_paper's People

Contributors

dfalster avatar richfitz avatar

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.