Description Usage Arguments Details Value Author(s) References
nls.sh
estimates s and h with non-linear least squares regression.
1 |
ctraj |
a consensus trajectory as returned by |
Ne |
numeric specifying the effective population size |
h |
numeric defining the dominance that should be assumed. If |
haploid |
logical indicating wether a population of haploid ( |
s.start |
numeric starting value for s provided to |
h.start |
numeric starting value for h provided to |
approximate |
logical indicating if a continuous time approximation should be used ( |
Instead of calling this function directly, use estimateSH
instead.
A named numeric vector with estimates of both s and h (if h
equals NA
) is returned.
Thomas Taus
Taus T., Futschik A. and Schlötterer C., manuscript in preparation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.