make_kde_region_prediction: Make a KDE prediction for one region

Description Usage Arguments Value

View source: R/kde-utils.R

Description

Make a KDE prediction for one region

Usage

1
2
make_kde_region_prediction(fit, cdc_region_string, inc_bins, inc_bin_names,
  season_has_EW53, season_week, n_sim)

Arguments

fit

a kde_fit R object

cdc_region_string

string for one CDC region

inc_bins

list of incidence bins

inc_bin_names

names of incidence bins

season_has_EW53

indicator of whether the current season has a week 53

season_week

string of the season week for which to make the prediction for

n_sim

number of simulations to run

Value

data.frame of the prediction, in CDC format


reichlab/cdcfluutils documentation built on March 12, 2020, 2:49 p.m.