Description Usage Arguments Details Author(s) Examples
interactions
creates an interactions matrix object defining the positive and negative interactions between populations.
The interaction is not assumed symetrical, so a population can have a different effect on a population than this latest has on the
first one. The interaction of a population on itself is equal to 0.
The element [i,j]
of the matrix is the effect of the population on
the j column on the population of the i line.
1 2 |
nb_pop |
is the number of populations in the model. The matrix interaction with only one population is set to 0. |
x.interactions |
is a vector of length |
labels |
is a vector of characters giving the labels of the populations. |
verbose |
Default is |
If no interaction vector is given, the default values are 0.
Nicolas BARTALUCCI <bartalucci.nico@gmail.com>
1 2 3 | interactions(nb_pop=3, x.interactions=c(0.2,-0.5, 0.1,0.2,0.3,0.8))
interactions(nb_pop=2)
interactions(nb_pop=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.