Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adibender/analysis-protein-cr-mechvent-discharge


https://github.com/adibender/analysis-protein-cr-mechvent-discharge

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

## Introduction

Previously the association between protein intake and the risk of death or discharge was studied, see [analysis-protein-intake-2021](https://github.com/adibender/analysis-protein-intake-2021)

Here we investigate association of protein intake on competing risks of end of mechanical ventilation and death.

## Step by step execution

Run the following files in the folder **code** in the given order:

### Preparation:
`1_packages.R`

`2_function_helpers.R`

`3_dir_create.R` (run only once)

### Main Model
`4_model_main.R`

### Subgroup analyses
`5_model_subgroup_.R`

### Sensitivity analyses
`9_sensitivity_analysis.R`

### Figures for manuscript
`figures-.R`

### Tables and numbers for manuscript
`numbes-.R`