The R package medfateland has been designed to extend the capabilities of package medfate to the landscape level. It allows running the stand-level models available in medfate on points and cells within landscape, including the possibility of parallelization. Additionally, medfateland allows considering spatial hydrological processes in forested watersheds. Hence, medfateland can be used as a tool for eco-hydrological applications.

Package installation

Since both packages evolve together, installing medfateland normally requires an up-to-date version of medfate.

The package is not available from CRAN because it is still under active development. Beta versions of package medfateland can be installed from GitHub as follows:



A number of vignettes illustrate how to run simulation models in medfateland. These can be found at the package website.

The user is also advised to read articles included in the website of package medfate.

A complete documentation of both packages, including a reference book, can be found at https://emf-creaf.github.io/medfatebook/index.html.