This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# packages | |
# install.packages(c("data.table", "remotes", "EpiNow2")) | |
# remotes::install_github("epiforecasts/covidregionaldata") | |
library(data.table) | |
library(EpiNow2) | |
library(covidregionaldata) | |
# target country (must be present in ECDC data) | |
country <- "france" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# packages | |
# install.packages(c("data.table", "remotes", "EpiNow2")) | |
# remotes::install_github("epiforecasts/EpiNow2") | |
# remotes::install_github("epiforecasts/covidregionaldata") | |
library(data.table) | |
library(EpiNow2) | |
library(covidregionaldata) | |
# target country (must be supported in covidregionaldata) | |
country <- "uk" # harder to fit "india" |