get_endpoint | R Documentation |
Predicts the evolutionary equilibrium reached given a starting point and some parameter values, and if this equilibrium is stable.
get_endpoint(
xstart,
pars,
init,
from = xstart - 10,
to = xstart + 10,
step = 1e-04,
...
)
xstart |
The starting resident 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 |
from, to |
Arguments to be passed to |
step |
Argument to be passed to |
... |
Optional extra arguments for |
The function computes the selection gradient at the starting point to know in which direction evolution is leading, then finds the closest singularity in that direction.
A data frame with the singularity, whether it is attainable and whether it is evolutionarily stable. If a singularity is attainable and stable, it is an evolutionarily stable strategy (labelled "ESS"). If it is attainable and unstable, it is a branching point ("BP"). If it is unattainable, it is a repeller.
get_gradient
, find_singularities
, is_stable
,
is_convergent
pars <- get_default_pars()
get_endpoint(0, pars, init = rep(1000, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.