is_stable | R Documentation |
Assesses whether an equilibrium trait value is evolutionarily stable, or invasion-proof.
is_stable(xeq, pars, init, value = FALSE)
xeq |
Some equilibrium trait value |
pars |
An unevaluated parameter-list (e.g. as returned by
|
init |
A vector of two starting values for solving of the demographic equilibrium |
value |
Whether to return the actual value of the curvature of the
fitness function (defaults to |
This functions computes an expression for the second derivative
of the invasion fitness function with respect to the mutant trait value,
evaluated at the resident trait value at equilibrium xeq
. If this
value is negative then the equilibrium is a fitness maximum, i.e. it is
evolutionarily stable. It is unstable otherwise.
A boolean
is_convergent
pars <- get_default_pars()
is_stable(0, pars, init = rep(1000, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.