Skip to content

R-HTA-in-LMICs/Introduction-to-R-for-HTA-2024

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction-to-R-for-HTA 2024: getting to grips with R for basic survival analysis and health economic analysis

This repository stores the code, presentations, and material used in the R-HTA in LMICs introductory 2024 tutorial.

The following sections provide a breakdown of the primary documents and guidance on how to use them for your own personal training. The tutorial is based on several open-source frameworks for basic survival analysis in R.

Navigation

The R folder includes the code script I2r_Aug24 used to help you get to grips with R. For those interested, there is a secondary extrapolation.R script which provides a brief example of survival extrapolation in preparation for the intermediate workshop. The data folder stores any relevant raw data used during the tutorial.

The analysis folder stores the primary code script used during the tutorial, illustrating how to generate Kaplan-Meier and Cox models.

Preliminaries

  • Install survival, survminer, broom, and ggplot2 from CRAN, which are R packages used for survival analysis. Then, install devtools to install the darthtools package, which is an R package from DARTH's GitHub. See below:
# For the survival analysis, install the following packages from CRAN
install.packages("survival")
install.packages("survminer")
install.packages("broom")
install.packages("ggplot2")
  • then install darthtools using devtools
# Install devtools from CRAN
install.packages("devtools")

# Install development DARTH tools package from GitHub
devtools::install_github("DARTH-git/darthtools")

Citations

For syntax consistency, we follow the R syntax framework developed by the DARTH group: - Alarid-Escudero F, Krijkamp EM, Pechlivanoglou P, Jalal HJ, Kao SYZ, Yang A, Enns EA. A Need for Change! A Coding Framework for Improving Transparency in Decision Modeling. PharmacoEconomics, 2190;37(11):1329--1339. https://doi.org/10.1007/s40273-019-00837-x

Additional Information

Visit our webpage and follow the links to our social media to keep up-to-date with our latest tutorials. Alternatively, follow us on EventBrite to receive notifications as new events go live!

About

A repository for the I2R4HTA 2024 Tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages