Simulate Mediterranean forest functioning and dynamics using cohort-based description of vegetation [De Caceres et al. (2015) <doi:10.1016/j.agrformet.2015.06.012>; De Caceres et al. (2021) <doi:10.1016/j.agrformet.2020.108233>].

Simulate forest hydrology, forest function and dynamics over landscapes [De Caceres et al. (2015) <doi:10.1016/j.agrformet.2015.06.012>]. Parallelization is allowed in several simulation functions and simulations may be conducted including spatial processes such as lateral water transfer and seed dispersal.

Provides S7-based infrastructure for fitting mediation models,
    extracting path coefficients, and performing bootstrap inference. Designed
    as a foundation package for the mediation analysis ecosystem, supporting
    'probmed', 'RMediation', and 'medrobust' packages. Implements unified interfaces
    for model fitting across different engines (currently generalized linear models,
    with future support for mixed models and Bayesian methods), standardized
    extraction of mediation paths from various model types, and robust bootstrap
    inference methods. Mediation methods are described in MacKinnon, Lockwood and
    Williams (2004) <doi:10.1207/s15327906mbr3901_4>, Preacher and Hayes (2008)
    <doi:10.3758/brm.40.3.879>, Tofighi and MacKinnon (2011)
    <doi:10.3758/s13428-011-0076-x>, and VanderWeele (2014)
    <doi:10.1097/EDE.0000000000000121>.

Run flexible mediation analyses using natural effect models as described in 
  Lange, Vansteelandt and Bekaert (2012) <DOI:10.1093/aje/kwr525>, 
  Vansteelandt, Bekaert and Lange (2012) <DOI:10.1515/2161-962X.1014> 
  and Loeys, Moerkerke, De Smet, Buysse, Steen and Vansteelandt (2013) <DOI:10.1080/00273171.2013.832132>.

Calculates MeDiA_K (means Mean Distance Association by K-nearest neighbor) in order to detect nonlinear associations.

Provides a general framework for clinical trial simulations based
    on the Clinical Scenario Evaluation (CSE) approach. The package supports a
    broad class of data models (including clinical trials with continuous, binary,
    survival-type and count-type endpoints as well as multivariate outcomes that are
    based on combinations of different endpoints), analysis strategies and commonly
    used evaluation criteria.