calc_env_anomalies: Calculates and summarizes environmental anomalies in the...

Description Usage Arguments Value

View source: R/formatters_calculators.R

Description

Calculates and summarizes environmental anomalies in the early detection period.

Usage

1
calc_env_anomalies(env_ts, quo_groupfield, quo_obsfield, report_dates)

Arguments

env_ts

Environmental timeseries dataset as output from environ_report_format().

quo_groupfield

Quosure of the user given geographic grouping field to run_epidemia().

quo_obsfield

Quosure of user given field name of the environmental data variables.

report_dates

Internally generated set of report date information: min, max, list of dates for full report, known epidemiological data period, forecast period, and early detection period.

Value

These data are the recent (during the early detection period) differences (anomalies) of the environmental variable values from the climatology/reference mean. Note: these are not the same as daily environmental anomalies calculated as residuals from GAM in anomalize_env() as part of forecasting.


EcoGRAPH/epidemiar documentation built on Aug. 22, 2019, 6:53 a.m.