Skip to contents

Network generation

Functions for spatial networks

brnet()
Generate a random branching network
adjtodist()
Convert an adjacency matrix to a distance matrix
ptsource()
Create point source disturbance
frgm()
Dispersal probability matrix after accounting for network fragmentation
ggbrnet()
Visualize a branching network

Simulation

Functions for metacommunity/food web simulations

mcsim()
Simulate metacommunity dynamics
igpsim()
Simulate meta-food web dynamics with intraguild predation
sglv()
Spatial generalized Lotka-Volterra model

Utils

Utility functions for internal use

fun_adj()
Return adjacency in a linear habitat
fun_dispersal()
Dispersal
fun_disp_mat()
To dispersal matrix
fun_get_fcl()
Get fcl
fun_get_n_branch()
Get n_branch
fun_igp()
IGP function
fun_int_mat()
Interaction matrix
fun_m_adj()
Adjacency matrix in branching networks
fun_patch_attr()
Weighted-mean patch attributes
fun_to_m()
To matrix
fun_to_v()
To vector
fun_wa()
Watershed area
resample()
Resample function