InteractionStrength: Interaction strength of a pairwise interaction

Description Usage Arguments Value Examples

View source: R/InteractionStrength.R

Description

Interaction strength calculated as the sign of the interaction multiplied by a scaling factor

Usage

1
InteractionStrength(n1, n2, sign.matrix, sp1, sp2, scale.factor)

Arguments

n1

Abundance of the first species

n2

Abundance of the second species

sign.matrix

sign matrix of the community

sp1

index of the first species in the sign matrix

sp2

index of the second species in the sign matrix

scale.factor

numeric vector with five elements, giving the maximum strength relative to species' intrinsic growth rate. If e.g. the scale factor equals 1, a certain interaction can have a strength of the same order of magnitude that the r parameter

Value

dimensionless interaction strength value

Examples

1
2
InteractionStrength(n1 = 10,n2 = 100,
sign.matrix = matrix(data = c(0,-1,1,0),nrow = 2),sp1 = 1,sp2 = 2,scale.factor = rep(0.1,5))

DavidGarciaCallejas/DGC documentation built on May 6, 2019, 1:54 p.m.