Description Usage Arguments Value Examples
calc.stat.err
calculates the error:
mean absolute error, mean relative error and mean error relative to the NULL model for each
month/week for which a fit/forecast was calculated
1 | calc.stat.err(tables = NULL, nfit = NULL, state_id = NULL)
|
tables |
A list with all the mydata tables - both observed and fitted/forecasted |
nfit |
An integer - the number of data points used in the fit |
state_id |
The abbreviation of the state/region |
tables An updated tables list with the nfit
row of the SEIR errors filled
1 | calc.stat.err(tables=tables, nfit= nfit, state_id = state_id)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.