Nothing
#' @title Helper function that summarises
#' posterior samples of Rt from EpiEstim
#'
#' @param x dataframe
#' @param prm.R list
#'
#' @return summarised dataframe
#' @keywords internal
#'
summary_postsamples <- function(x, prm.R) {
res = x |>
dplyr::group_by(date) |>
dplyr::summarise(
mean = mean(postsample),
lwr = stats::quantile(postsample, probs = 0.5 - prm.R$CI / 2),
upr = stats::quantile(postsample, probs = 0.5 + prm.R$CI / 2)
)
return(res)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.