N is the an Interspecific Interaction matrix with values drawn from a normal distribution H the interaction strength heterogeneity drawn from a power-law distribution with the parameter alpha, and G the adjacency matrix of with out-degree that reflects the heterogeneity of the powerlaw. A scaling factor s may be used to constrain the values of the interaction matrix to be within a desired range. Diagonal elements of A are defined by the parameter d.
Arguments
- n_species
integer number of species
- alpha
numeric power-law distribution parameter. Should be > 1. (default:
alpha = 3.0
) Larger values will give lower interaction strength heterogeneity, whereas values closer to 1 give strong heterogeneity in interaction strengths between the species. In other words, values of alpha close to 1 will give Strongly Interacting Species (SIS).- stdev
numeric standard deviation parameter of the normal distribution with mean 0 from which the elements of the nominal interspecific interaction matrix N are drawn. (default:
stdev = 1
)- s
numeric scaling parameter with which the final global interaction matrix A is multiplied. (default:
s = 0.1
)- d
numeric diagonal values, indicating self-interactions (use negative values for stability). (default:
s = 1.0
)- symmetric
logical scalar returning a symmetric interaction matrix (default:
symmetric=FALSE
)