lemna is a software package for the languageR. It implements modelequations and default parameters to simulate thetoxicokinetic-toxicodynamic (TKTD) model of theLemna aquaticplant.Lemna is a standard test macrophyte used in ecotoxeffect studies. The model was described and published by theSETACEurope Interest Group Effect Modeling (Kleinet al. 2022).It is a refined description of theLemna TKTD model publishedby Schmittet al. (2013). This package contains the model’sreference implementation which is provided by theSETACinterest group.
## install directly from CRANinstall.packages("lemna")## install latest development version from GitHub#install.packages("remotes")remotes::install_github("nkehrein/lemna",dependencies=TRUE)The lemna package provides model equations and some useful helpers tosimulate the growth ofLemna (duckweed) aquatic plantpopulations. A simulation is run by using thelemna()function. The required scenario data are either supplied individually onfunction call or are passed as a pre-defined scenario object, such asthefocusd1 sample scenario:
library(lemna)# simulate sample scenarioresult<-lemna(focusd1)head(result)#> time BM M_int C_int FrondNo#> 1 0 80.00000 0.0000000 0.0000000000 200000.0#> 2 1 79.48177 0.6614503 0.0004983256 198704.4#> 3 2 79.00414 2.2061048 0.0016720907 197510.3#> 4 3 78.57538 4.1750616 0.0031817050 196438.5#> 5 4 78.23362 6.2899397 0.0048143381 195584.0#> 6 5 78.01035 8.3810150 0.0064332127 195025.9plot(result)
The package contains two vignettes that may help you gettingstarted:
The package and its source code is free and open-source softwareavailable under the MIT license.
If you find any issues or bugs within the package, please create anew issue onGitHub.