Interaction matrix
fun_int_mat.Rd
Interaction matrix
Arguments
- n_species
Integer. Number of species in a metacommunity.
- alpha
Numeric matrix. Species interaction strength. Enabled if
interaction_type = "constant"
. Default0
.- min_alpha
Numeric. Minimum value of a uniform distribution generating interaction strength. Enabled if
interaction_type = "random"
. DefaultNULL
.- max_alpha
Numeric. Maximum value of a uniform distribution generating interaction strength. Enabled if
interaction_type = "random"
. DefaultNULL
.- interaction_type
Character.
"constant"
or"random"
."constant"
assumes the unique interaction strength ofalpha
for all pairs of species."random"
draws random numbers from a uniform distribution withmin_alpha
andmax_alpha
.