mcbrnet 1.2.0
mcbrnet: metacommunity simulation in a branching network
Akira Terui
March 09, 2022
Overview
Main functions are the following:
-
brnet
: Functionbrnet()
generates a random branching network with the specified number of patches and probability of branching. The function returns adjacency and distance matrices, hypothetical environmental values at each patch, and the number of patches upstream (akin to the watershed area in river networks). The output may be used in functionmcsim()
to simulate metacommunity dynamics in a branching network. -
mcsim
: Functionmcsim()
simulates metacommunity dynamics. By default, it produces a square-shaped landscape with randomly distributed habitat patches (x- and y-coordinates are drawn from a uniform distribution). If a distance matrix is given, the function simulates metacommunity dynamics in the specified landscape. Functionmcsim()
follows a general framework proposed by Thompson et al. (2020) with some modifications. -
igpsim
: Functionigpsim()
simulates three-species meta-food web dynamics with intraguild predation. By default, it produces a square-shaped landscape with randomly distributed habitat patches (x- and y-coordinates are drawn from a uniform distribution). If a distance matrix is given, the function simulates three-species meta-food web dynamics in the specified landscape. -
adjtodist
: Functionadjtodist()
converts an adjacency matrix to a distance matrix.
Change log
- version 1.2.0
- added a major function
igpsim()
- simplified
brnet()
andmcsim()
by introducing internal sub-functions
- added a major function
- version 1.1.1
- added a local noise parameter for disturbance values to
brnet()
(argumentsd_disturb_lon
)
- added a local noise parameter for disturbance values to
- version 1.1.0
- added disturbance arguments to
brnet()
- added function
adjtodist()
- added disturbance arguments to
- version 1.0.0: initial release
References
Thompson et al. (2020) A process-based metacommunity framework linking local and regional scale community ecology. Ecology Letters 23: 1314-1329.