makeDat: Assemble data with lagged environmental predictors

View source: R/teller_2016_make_data.R

makeDatR Documentation

Assemble data with lagged environmental predictors

Description

Assemble data with lagged environmental predictors

Usage

makeDat(envData, response, monthStart, meas, nUnits)

Arguments

envData

values of environmental data, in this case, by month and county

response

the response variable, human cases of WNV

monthStart

the month from which to lag the environmental data back

meas

month

nUnits

how many units (meas) to go back

Value

a matrix of lagged environmental variables


khelmsmith/flm_NE_WNV documentation built on June 24, 2022, 11:13 p.m.