Git Product home page Git Product logo

plant's Introduction

The Trait Ecology and Evolution (plant) model

Build Status

Documentation

plant comes with a lot of documentation. Run library(help=plant) to see the index, and see vignettes:

Details of the modelling approaches:

  • vignette("demography"): Modelling demography of plants, patches and metapopulations online
  • vignette("physiology"): Plant physiological model online

Details of using plant from R:

  • vignette("plant"): Plant level properties online
  • vignette("cohort_spacing"): The cohort spacing algorithm online
  • vignette("equilibrium"): Finding demographic equilibrium online
  • vignette("patch"): Patch level dynamics online
  • vignette("emergent"): Patch level emergent properties online
  • vignette("fitness"): Calculating fitness online
  • vignette("parameters"): Modifying parameters of the physiological model online

Installation

Installation requires a C++11 compatible C compiler (OSX >= 10.10/Yosemite satisfies this, plus we've had success on Ubuntu 12.04 and 14.04).

Option 1, using drat

(install drat with install.packages("drat"))

drat:::add("traitecoevo")
install.packages("plant", dependencies=TRUE)

Answer "Yes", if you get asked whether you wish to "install these from sources?". Alternatively try install.packages("plant", type="source") here. The dependencies=TRUE installs some additional packages that are used in tests and some of the routines.

Option 2, using devtools::install_github

(install devtools with install.packages("devtools"))

The plant package can be installed from github using the devtools package. plant also requires the packages loggr and RcppR6 packages: install those with

devtools::install_github("smbache/loggr", dependencies=TRUE)
devtools::install_github("richfitz/RcppR6", dependencies=TRUE)

Then install plant:

devtools::install_github("traitecoevo/plant", dependencies=TRUE)

Windows

Installation on Windows is likely to be a challenge, because of the lack of a C++11 compiler. The current Windows toolchain uses gcc 4.6.3, which des not feature enough C++11 support to successfully compile plant. There is support coming for gcc 4.9.2, but that is under development. This should become available on Windows very soon (it was initially aimed for 3.2.0 but didn't quite make it). As soon as this is available we will provide Windows binaries.

Building vignettes

See docs/README.md for details. The vignettes are not built as part of the package installation as they take a couple of hours to build.

plant's People

Contributors

richfitz avatar dfalster avatar

Watchers

Martin De Kauwe avatar James Cloos avatar  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.