pairwise_interaction function

Specify interactions between two species