Package: rcontroll 0.1.1

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.1.tar.gz
rcontroll_0.1.1.zip(r-4.7-x86_64)rcontroll_0.1.1.zip(r-4.7-arm64)rcontroll_0.1.1.zip(r-4.6-x86_64)rcontroll_0.1.1.zip(r-4.6-arm64)rcontroll_0.1.1.zip(r-4.5-x86_64)
rcontroll_0.1.1.tgz(r-4.6-x86_64)rcontroll_0.1.1.tgz(r-4.6-arm64)rcontroll_0.1.1.tgz(r-4.5-x86_64)rcontroll_0.1.1.tgz(r-4.5-arm64)
rcontroll_0.1.1.tar.gz(r-4.7-arm64)rcontroll_0.1.1.tar.gz(r-4.7-x86_64)rcontroll_0.1.1.tar.gz(r-4.6-arm64)rcontroll_0.1.1.tar.gz(r-4.6-x86_64)
rcontroll_0.1.1.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://sylvainschmitt.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

6.30 score 15 stars 22 scripts 333 downloads 22 exports 69 dependencies

Last updated from:ef1624c1f5. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK240
linux-devel-x86_64OK291
source / vignettesOK362
linux-release-arm64OK224
linux-release-x86_64OK294
macos-release-arm64OK383
macos-release-x86_64OK568
macos-oldrel-arm64OK259
macos-oldrel-x86_64OK655
windows-devel-arm64OK560
windows-devel-x86_64OK289
windows-release-arm64OK580
windows-release-x86_64OK268
windows-oldrel-x86_64OK262
wasm-releaseOK180

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-03
Started: 2022-09-21

Lidar simulation using TROLL
Setup | Lidar simulation | Lidar stack

Last update: 2026-08-03
Started: 2022-11-30

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

Last update: 2023-04-12
Started: 2018-07-27

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

Last update: 2023-04-12
Started: 2021-12-08

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