Skip to content

R code for the data managment and statistical analysis performed for Association with and outcomes after non-cardiology vs. cardiology care in heart failure: Observations from SwedeHF

License

Notifications You must be signed in to change notification settings

KIHeartFailure/wardtype_outcomes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R code for the project Wardtype

The aim of this R code is to be transparant and document the data handling and statistical analyses performed for the project "Association between admission ward type and outcomes in patients with heart failure".

Language

English.

Data

The data consists of Swedish individual patient data and is not public, and therefore no data is stored in this repository.

Instructions

The project uses the R package projectTemplate, http://projecttemplate.net/ and is structured (and run) accordingly. Renv, https://rstudio.github.io/renv/articles/renv.html, is used for management of package dependencies.

Since the data is not available the code can not be run as is.

Workflow:

  1. Run src/load_munge_cache.R or set loading and munging options in ProjectTemplate::reload.project() to TRUE in reports/Statistical_report_Wardtype.Rmd

  2. Knit reports/Statistical_report_Wardtype.Rmd

Publication

https://pubmed.ncbi.nlm.nih.gov/34517016/

About

R code for the data managment and statistical analysis performed for Association with and outcomes after non-cardiology vs. cardiology care in heart failure: Observations from SwedeHF

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published