Package: rcontroll 0.1.3

Sylvain Schmitt

rcontroll: Individual-Based Forest Growth Simulator 'TROLL'

'TROLL' is coded in C++ and it typically simulates hundreds of thousands of individuals over hundreds of years. The 'rcontroll' R package is a wrapper of 'TROLL'. 'rcontroll' includes functions that generate inputs for simulations and run simulations. Finally, it is possible to analyse the 'TROLL' outputs through tables, figures, and maps taking advantage of other R visualisation packages. 'rcontroll' also offers the possibility to generate a virtual LiDAR point cloud that corresponds to a snapshot of the simulated forest.

Authors:Sylvain Schmitt [aut, cre], Guillaume Salzet [aut], Fabian Fischer [aut], Isabelle Maréchaux [aut], Jérôme Chave [aut]

rcontroll_0.1.3.tar.gz
rcontroll_0.1.3.zip(r-4.7-x86_64)rcontroll_0.1.3.zip(r-4.7-arm64)rcontroll_0.1.3.zip(r-4.6-x86_64)rcontroll_0.1.3.zip(r-4.6-arm64)
rcontroll_0.1.3.tar.gz(r-4.7-arm64)rcontroll_0.1.3.tar.gz(r-4.7-x86_64)rcontroll_0.1.3.tar.gz(r-4.6-arm64)rcontroll_0.1.3.tar.gz(r-4.6-x86_64)
rcontroll_0.1.3.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rcontroll/json (API)

# Install 'rcontroll' in R:
install.packages('rcontroll', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/sylvainschmitt/rcontroll/issues

Pkgdown/docs site:https://sylvainschmitt.github.io

Uses libs:
  • gsl– GNU Scientific Library (GSL)
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

gslcpp

3.64 score 22 scripts 340 downloads 22 exports 69 dependencies

Last updated from:21dca70186. Checks:10 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK228
linux-devel-x86_64OK286
source / vignettesOK360
linux-release-arm64OK219
linux-release-x86_64OK265
windows-devel-arm64OK346
windows-devel-x86_64OK293
windows-release-arm64OK348
windows-release-x86_64OK301
wasm-releaseOK158

Exports:%>%autogifautoplotgenerate_climategenerate_lidargenerate_parametersget_chmget_forestget_logload_outputload_simload_stackprintshowstacksummarytrollTROLL.versiontrollCpptrollsimtrollstackupdate_parameters

Dependencies:bitbit64classclassIntclicliprcodetoolscpp11crayonDBIdoParalleldoSNOWdplyre1071farverforeachgenericsgganimateggplot2gluegridExtragtablehmsisobanditeratorsKernSmoothlabelinglifecyclelpSolvelubridatemagrittrpillarpkgconfigplyrprettyunitsprogressproxypurrrR6RColorBrewerRcppRcppGSLreadrreshape2rlangs2S7scalessfsnowstringistringrsysterratibbletidyrtidyselecttimechangetransformrtweenrtzdbunitsutf8vctrsviridisviridisLitevroomwithrwk

Generate climate data
Download ERA5-land data | Have a look to the downloaded data | Prepare TROLL inputs

Last update: 2026-08-04
Started: 2023-02-11

Lidar simulation using TROLL
Setup | Lidar simulation | Lidar stack

Last update: 2026-08-04
Started: 2023-02-11

A simple workflow
Setup | Data | Generate parameters | Simple simulation | Plot outputs | Stack of simulations | From a forest | Dynamic visualisation

Last update: 2023-09-07
Started: 2023-02-11

The TROLL model
Abiotic environment | Photosynthesis | Theory | Parametrization | Autotrophic respiration | Net carbon uptake | Tree growth | Mortality | Recruitment | References

Last update: 2023-09-07
Started: 2023-02-11

Readme and manuals

Help Manual

Help pageTopics
'rcontroll': individual-based forest growth simulator TROLLrcontroll-package rcontroll
Create an animation from a TROLL simulationautogif
Plot TROLL simulation or stackautoplot,trollsim-method
Generate climate datasetgenerate_climate
Generate lidar parametersgenerate_lidar
Generate global parametersgenerate_parameters
Extract canopy height modelget_chm get_chm,trollsim-method
Extract forest inventoryget_forest get_forest,trollsim-method
Extract simulation logget_log get_log,trollsim-method
Load outputs from simulationload_output
Load outputs from simulation or stack of simulationsload_sim load_sim,trollsim-method
Load outputs from a stack of simulationsload_stack
Optionsoption.rcontroll
Print a summaryprint,trollsim-method print.trollsim show,trollsim-method summary,trollsim-method
Run a stack of 'TROLL' simulationsstack
Run a 'TROLL' simulationtroll
'TROLL' versionTROLL.version
TROLL simulatortrollCpp
A 'TROLL' simulationstrollsim
A 'TROLL' simulationstrollsim-class
A stack of 'TROLL' simulationstrollstack
A stack of 'TROLL' simulationstrollstack-class
'TROLL' climate parameters over monthsTROLLv3_climatedaytime12
'TROLL' daytime variation parametersTROLLv3_daytimevar
'TROLL' global parametersTROLLv3_input
'TROLL' outputTROLLv3_output
'TROLL' lidar parametersTROLLv3_pointcloud
'TROLL' species parametersTROLLv3_species
Update global parametersupdate_parameters update_parameters,trollsim-method