This repository contains the R code used to undertake competing risk regression analyses to estimate relative risks of severe outcomes for the manuscript "Trends in COVID-19 hospital outcomes in England before and after vaccine introduction, a cohort study."
- R (v. 4.1.1; R Foundation for Statistical Computing, Vienna, Austria) https://cran.r-project.org/
- Survival package (v. 3.2-13; Therneau T. A package for survival analysis in R.) https://github.com/therneau/survival
- MatrixStats package (v. 0.60.0; Bengtsson H. matrixStats: Functions that Apply to Rows and Columns of Matrices (and to Vectors).) https://github.com/HenrikBengtsson/matrixStats
© Crown copyright