Description Usage Arguments Value
A gibbs-metropolis algorithm for sampling Ne(t) with a non-parametric growth model
1 2 3 4 5 6 7 8 9 10 11 12 13 |
tre |
A dated phylogeny in ape::phylo format (see documentation for ape) |
mhsteps |
Number of mcmc steps |
tau0 |
Initial guess of the precision parameter |
tau_logprior |
Prior for precision parameter (character string (gamma or exponential) or function) |
res |
Number of time points (integer) |
quiet |
Provide verbose output? |
control |
List of options passed to optim |
gamma |
Death rate. If provided will compute R |
logRmean |
Mean of R in log space. Determines a lognormal prior on R(t). If used, _gamma_ must be provided |
logRsd |
SD of R in log space. Determines a lognormal prior on R(t). If used, _gamma_ must be provided |
maxHeight |
If supplied, will only compute Ne(t) estimates this far back in time. Otherwise will compute to the root of the tree. |
A fitted model including effective size through time
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.