Description Usage Arguments Value

View source: R/kde-prediction-utils.R

Compute predictive distribution for peak week from KDE fit

1 | ```
predict_kde_peak_week(fm, n_sim)
``` |

`fm` |
output from fit_kde_peak_week() |

`n_sim` |
number of draws from predictive distribution to return |

vector of 52 probabilities representing the predictive distribution of peak week, in bins representing season week 1 through 52 (or EW31 through EW30 – or EW29 if a 53 week year) with the final entry representing the probability of no onset#'

reichlab/2017-2018-cdc-flu-contest documentation built on Sept. 25, 2018, 3:24 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.