Description Usage Arguments Value
View source: R/phylo_functions.r
For simulating coalescent times using the method of thinning.
This function is based on code written by Michael Karcher for the phylodyn
package.
1 | coaltimeSimGP(samp_times, n_sampled, trajvec, tvec, lower_bound)
|
samp_times |
numeric vector of sampling times. |
n_sampled |
numeric vector of samples taken per sampling time. |
trajvec |
vector of population sizes (should be dense) |
tvec |
grid boundaries for trajvec. Length is length(trajvec)+1 |
lower_bound |
numeric lower limit on |
A list containing vectors of coalescent times coal_times
,
intercoalescent times intercoal_times
, and number of active lineages
lineages
, as well as passing along samp_times
and
n_sampled
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.