SamsaRaLight: Simulate Tree Light Transmission Using Ray-Tracing

Provides tools to simulate light transmission in forest stands using three-dimensional ray-tracing. The package allows users to build virtual stands from tree inventories and to estimate (1) light intercepted by individual trees, (2) light reaching the forest floor, and (3) light at virtual sensors. The package is designed for ecological and forestry applications, including the analysis of light competition, tree growth, and forest regeneration. The implementation builds on the individual-based ray-tracing model SamsaraLight developed by Courbaud et al. (2003) <doi:10.1016/S0168-1923(02)00254-X>.

Version: 1.0.0
Depends: R (≥ 4.0)
Imports: concaveman, data.table, dplyr, ggforce, ggnewscale, ggplot2, grid, httr, patchwork, Rcpp, RhpcBLASctl, scales, sf, sfheaders, tidyr
LinkingTo: Rcpp
Suggests: cowplot, knitr, purrr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-04-16
DOI: 10.32614/CRAN.package.SamsaRaLight (may not be active yet)
Author: Natheo Beauchamp ORCID iD [aut, cre] (R package developer), Gauthier Ligot ORCID iD [aut] (Java Capsis developer and algorithm improvement), Francois de Coligny ORCID iD [aut] (Java Capsis developer), Maxime Jaunatre ORCID iD [aut] (R package support developer), Benoit Courbaud ORCID iD [aut, cph] (Algorithm and theory creator)
Maintainer: Natheo Beauchamp <beauchamp.natheo at gmail.com>
BugReports: https://github.com/natheob/SamsaRaLight/issues/
License: GPL (≥ 3)
URL: https://natheob.github.io/SamsaRaLight/
NeedsCompilation: yes
Materials: README
CRAN checks: SamsaRaLight results

Documentation:

Reference manual: SamsaRaLight.html , SamsaRaLight.pdf
Vignettes: A typical example workflow (source, R code)
Model definition (source, R code)

Downloads:

Package source: SamsaRaLight_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=SamsaRaLight to link to this page.