Generate pairs of interactions according to interaction types
Source:R/utils.R
dot-applyInterType.Rd
A helper function to be used in combination with .getInteractions()
Arguments
- I
Matrix: defining the interaction between each pair of species
- pair
Numeric: a vector with a length of 2, indicating the 2 focusing species in the process of applying the interaction types
- interType
Character: one of 'mutualism', 'commensalism', 'parasitism', 'amensalism', or 'competition'. Defining the interaction type