Description Usage Arguments Details Value Author(s) References See Also
lm.s
estimates s with linear least squares regression.
1 | lm.s(ctraj, haploid, maxiter = 10, tol = 0.01)
|
ctraj |
a consensus trajectory as returned by |
haploid |
logical indicating wether a population of haploid ( |
maxiter |
integer defining the maximum number of iterations to correct for discrepancies between a selection model with discrete or overlapping generations. |
tol |
numeric specifying the tolerance for the iterative bias correction. If |
Instead of calling this function directly, use estimateSH
instead.
A named numeric vector with estimates of both s and p0 is returned.
Thomas Taus
Taus T., Futschik A. and Schlötterer C., manuscript in preparation.
estimateSH
and nls.sh
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.