calc.null.err: Calculate Error of Historic Null Model

Description Usage Arguments Value Examples

View source: R/tables_fxns.R

Description

calc.null.err calculates the error of the historic NULL model: the weekly/monthly value is given by the ten year average value

Usage

1
calc.null.err(tables = NULL, nfit = NULL, state_id = NULL)

Arguments

tables

A list with all the data 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

Value

tables An updated tables list with the nfit row of the NULL errors - absolute and relative error filled

Examples

1
calc.null.err(tables=tables, nfit= nfit, state_id = state_id)

predsci/DICE documentation built on Aug. 9, 2019, 9:41 a.m.