Forecast using Bayesian Nonparametric phylodynamics
1 2 3 4 |
data |
An ape phylo object |
last_time |
The time of last sampling point |
formula |
INLA formula to model Ne (y) with respect to time and week |
lengthout |
numeric specifying number of grid points. |
pref |
logical. Should the preferential sampling model be used? |
prec_alpha |
numerics specifying gamma prior for precision κ. |
prec_beta |
numerics specifying gamma prior for precision κ. |
beta1_prec |
numeric specifying precision for normal prior on β_1. |
fns |
list containing functions of covariates. |
log_fns |
logical whether or not to to apply a log-transformation to
the output of the functions in |
simplify |
logical whether to fully bucket all Poisson points. |
derivative |
logical whether to calculate estimates of the log-derivative. |
forward |
logical whether to use the finite difference approximations of the log-derivative as a forward or backward derivative. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.