Description Usage Arguments Details Value
Fits and saves KDE models for all region-year combinations
1 2 | fit_region_kdes(data, region, first_fit_year, last_fit_year, first_fit_week,
path)
|
data |
cleaned usflu dataset |
region |
character string identifying a region |
first_fit_year |
along with first_fit_week, defines the first time for which a fit is made |
last_fit_year |
last year in which a fitted season begins |
first_fit_week |
see first_fit_week, week defined on calendar scale |
path |
filepath for saving |
This function call assumes that the data object contains no data from the testing phase. Starting with first_fit_year/first_fit_week, a prospective fit will be made for each season until the end of the dataset.
nothing, just saving files
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.