pull_model_envvars: Pull only model env variables.

Description Usage Arguments Value

View source: R/forecasting_helpers.R

Description

Pull only model env variables.

Usage

1
pull_model_envvars(env_data, quo_obsfield, env_var)

Arguments

env_data

Daily environmental data for the same groupfields and date range as the epidemiological data. It may contain extra data (other districts or date ranges). The data must be in long format (one row for each date and environmental variable combination), and must start at absolutel minimum report_settings$env_lag_length days (default 180) before epi_data for forecasting.

quo_obsfield

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

env_var

Extract from report_settings$env_var, a user list of environmental variables to attempt to use for modeling

Value

List of environmental variables that were used in the modeling (had to be both listed in model variables input file and present the env_data dataset).


EcoGRAPH/epidemiar documentation built on Nov. 13, 2020, 5:31 p.m.