View source: R/find_singularities_within.R
find_singularities_within | R Documentation |
Finds trait values for which the selection gradient is zero.
find_singularities_within(from, to, pars, ...)
from, to |
The bounds of the range of trait values to explore |
pars |
An unevaluated parameter-list (e.g. as returned by
|
... |
Additional arguments to be passed to |
This function uses a numerical root finding algorithm to find the roots of the fitness gradient within a range of trait values
A vector of singularities (the output of find_roots
)
get_gradient_within
, find_roots
,
find_singularities
pars <- get_default_pars()
find_singularities_within(-1, 1, pars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.