Skip to contents

Adjacency matrix in branching networks

Usage

fun_m_adj(n_patch, p_branch, n_branch, n_patch_free)

Arguments

n_patch

Number of patches in a network.

p_branch

Branching probability (success probability of a geometric distribution).

n_branch

Number of branches

n_patch_free

Logical indicating whether imposing a constraint on n_patch or not. If TRUE, the number of patches is a random variable following a negative binomial distribution.