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 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:::add("traitecoevo") install.packages("plant", dependencies=TRUE)
Versions of R before 3.2.0 may require
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
Development versions of
plant (version 0.2.3 onwards) depends on the
loggr package: install that from drat or with
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.
docs/README.md](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.
bounds(bounds_infinite, check_bounds, check_point)
FF16_Plant(FF16_Cohort, FF16_Parameters, FF16_Patch, FF16_PlantPlus, FF16_SCM, FF16_Species, FF16_StochasticPatch, FF16_StochasticPatchRunner, FF16_StochasticSpecies)
FF16r_Plant(FF16r_Cohort, FF16r_Parameters, FF16r_Patch, FF16r_PlantPlus, FF16r_SCM, FF16r_Species, FF16r_StochasticPatch, FF16r_StochasticPatchRunner, FF16r_StochasticSpecies)
strategy_list(plant_list, strategy, strategy_default)