View on GitHub

Study Repository

COVID-19 vaccine effectiveness against in-hospital mortality in immunocompromised older adults: a Brazilian hospital surveillance study, 2024

Study Repository

This repository contains the data and statistical analyses of the study COVID-19 vaccine effectiveness against in-hospital mortality in immunocompromised older adults: a Brazilian hospital surveillance study, 2024.

Check the results at analysis.html.

Files

The repository contains the following files:

How to run

We performed the statistical analyses in R (version 4.5.0) using a single R notebook. The notebook is divided into sections and produces the results we included in the study.

It is possible to run and edit the notebook source ([analysis.Rmd]) with RStudio and use it to invoke knit to generate the results as HTML.

You may need to install some additional R libraries to run it. Use the following commands on R console:

install.packages("openxlsx")
install.packages("dplyr")
install.packages("lubridate")
install.packages("purrr")
install.packages("tidyr")
install.packages("prettyR")
install.packages("scales")
install.packages("DescTools")
install.packages("ggplot2")
install.packages("pROC")
install.packages("ResourceSelection")

For specific versions of the libraries, check installed_packages.csv. This file was created using the following commands:

ip = as.data.frame(installed.packages()[,c(1,3:4)])
ip = ip[is.na(ip$Priority),1:2,drop=FALSE]
write.csv(ip, "installed_packages.csv")

Authors

  1. Faculty of Medicine, Universidade Federal Fluminense, RJ, Brazil  2 3 4 5 6 7 8 9 10

  2. Institute of Computing, Universidade Federal Fluminense, RJ, Brazil 

  3. Faculty of Medicine, Universidade Federal de Goiás, GO, Brazil