View source: R/is_stable_within.R
is_stable_within | R Documentation |
Assesses whether an equilibrium trait value is evolutionarily stable, or invasion-proof.
is_stable_within(xeq, pars, value = FALSE)
xeq |
Some equilibrium trait value |
pars |
An unevaluated parameter-list (e.g. as returned by
|
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_within
, is_stable
pars <- get_default_pars()
is_stable_within(0, pars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.