Description Usage Arguments Value
get_llh_freq
computes the Gaussian approximation assuming that the actual frequencies are the sampled frequencies
1 | get_llh_freq(prior, lgth, prec, tvec, nuvec, s, alpha, f0)
|
prior |
a function that returns the prior distribution (default: function(x)1) |
lgth |
number of data points in the time series |
prec |
minimum precision for optimisation |
tvec |
time points for the time series (start with 0) |
nuvec |
percent of successful samples per time point |
s |
selection coefficient |
alpha |
population size, bounded [0,Inf) |
f0 |
initial frequency for the underlying logistic change |
A log-likelihood estimate.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.