library(tidyverse) library(lubridate) library(fable) library(tibbletime) library(feasts) library(tsibble) library(sweep) library(knitr) library(fable.prophet) library(pander) library(fasster) knitr::opts_chunk$set(echo = FALSE, message = FALSE, warning = TRUE, results = "asis") load(here::here("data", "pharmacy_forecast.rda"))
drug_code <- "Drug A" res <- sapply(c("Site A", "Site B", "Site C"), function(x) { knitr::knit_child( '_child.Rmd', envir = environment(), quiet = TRUE ) }) cat(unlist(res), sep = '\n')
Drug B is excluded from this analysis because there is only 3 years of data for Drug B. It may be included at a later date.
drug_code <- "Drug C" res <- sapply(c("Site A", "Site B", "Site C"), function(x) { knitr::knit_child( '_child.Rmd', envir = environment(), quiet = TRUE ) }) cat(unlist(res), sep = '\n')
drug_code <- "Drug D" res <- sapply(c("Site A", "Site B", "Site C"), function(x) { knitr::knit_child( '_child.Rmd', envir = environment(), quiet = TRUE ) }) cat(unlist(res), sep = '\n')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.