Skip to content

connor-vanmeter/RtEval

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code for the R(t) Collabathon 2024

00_Simulate.Rmd: See the live link here

02_<package>_infections.R compares each package to infections data

02_<package>_reports.R compares each package to reporting data

03_plot.R plots data in plot_data_<package>_infections.RData objects

04_eval.R starter evaluation code

the in_progress folder contains files in progress for R0, EpiFilter, and EpiNowcast

SETUP

First make sure you have the correct R installed

required_version <- "4.0.0"
  if (getRversion() < required_version) {
    stop(paste("Your R version is", getRversion(), ". Please update to version", required_version, "or higher."))
  } else {
    cat(paste("R version is sufficient:", getRversion(), "\n"))
  }

Then you need these packages

install.packages( "rmarkdown", "shiny" ,    
"knitr",     "plotly",    "purrr" ,
"splines" ,  "tidyverse", "readr",    
 "EpiLPS",  "EpiNow2",
 "lubridate", "rstan"  ,   "cmdstanr" , "R0" ,       "remotes" ,   
 "ggpubr" ,   "ggtext" ,   "lemon" ,    "patchwork")
 
remotes::install_github("dajmcdon/rtestim")

install.packages('EpiEstim', repos = c('https://mrc-ide.r-universe.dev', 'https://cloud.r-project.org'))

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%