Skip to contents

Overview

The R package mcbrnet provides functions to perform ecological simulations in spatial networks. Main functions in this package can: (1) generate a random branching network with the specified number of patches and probability of branching (brnet()); and (2) simulate metacommunity/foodweb dynamics in space (mcsim(), igpsim()). See Articles for instruction.

Installation

The latest stable version of mcbrnet package can be installed with:

#install.packages("remotes")
remotes::install_github("aterui/mcbrnet@1.4.2")
library(mcbrnet)

The development version of mcbrnet package can be installed with:

#install.packages("remotes")
remotes::install_github("aterui/mcbrnet")
library(mcbrnet)

Funding

This material is based upon work supported by the National Science Foundation through the Division of Environmental Biology (DEB 2015634).