View source: R/teller_2016_make_data.R
makeDat | R Documentation |
Assemble data with lagged environmental predictors
makeDat(envData, response, monthStart, meas, nUnits)
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 |
a matrix of lagged environmental variables
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.