anomalize_env: Convert environmental data into anomalies.

Description Usage Arguments Value

Description

Raw environmental values are not used in modeling, but rather their anomalies, departures for the historical "normal". We are looking at the influence of deviation from normal in the environmental factors to help explain deviations from normal in the human cases.

Usage

1
anomalize_env(env_fc, quo_groupfield, env_variables_used, ncores)

Arguments

env_fc

Environmental data formatted for forecasting by env_format_fc().

quo_groupfield

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

env_variables_used

List of environmental variables that were used in the modeling.

ncores

The number of physical cores to use in parallel processing, set in fc_control$ncores, else the max of the number of physical core available minus 1, or 1 core.

Value

Environmental dataset in same format as env_fc but with the residuals from a GAM with geographic unit and cyclical cubic regression spline on day of year per geographic group in place of the original raw values.


EcoGRAPH/epidemiar documentation built on June 3, 2019, 11:05 p.m.