Description Usage Arguments Value
Forecast starting at given time
1 2 3 | forecast_starting(tree, last_time, week_start, year_start, formula, label,
pred = 4, pref = TRUE, n = 1, include_trunc = T,
thresh = 0.019)
|
tree |
A phylo object |
last_time |
The last sampling time in the tree |
week_start |
The week of first forecast timepoint |
year_start |
The year of first forecast timepoint |
formula |
The formula for BNPR forecast |
label |
A character string as label for the time series |
pred |
The number of weeks to forecast |
pref |
Whether using preferential sampling |
n |
The number of samples near the truncation time |
include_trunc |
Whether to include the truncation timepoint |
thresh |
Maximum distance from truncation time of the n samples |
A INLA object for forecast
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.