Commit d01e7342 authored by mabrook's avatar mabrook
Browse files

updates to readme

parent 9008909b
Pipeline #3320 passed with stage
in 15 seconds
......@@ -10,19 +10,19 @@ The AIDS Clinical Trials Group (ACTG) 320 compared a combination of three antire
### Installation
You can install the package from Bitbucket
You can install the package from oue public Gitlab site with the following commands:
```{r setup, include=FALSE, warning=FALSE}
knitr::opts_chunk$set(echo = TRUE)
library("devtools")
devtools::install_bitbucket("novisci/actg")
devtools::install_git("https://gitlab.novisci.com/nsPublicData/actg.git")
library(actg)
library(knitr)
```
```{r, eval=FALSE}
library("devtools")
devtools::install_bitbucket("novisci/actg")
devtools::install_git("https://gitlab.novisci.com/nsPublicData/actg.git")
library(actg)
```
......
......@@ -19,26 +19,81 @@ Covariates measured at baseline and available in the dataset are age,
sex, race, ethnicity, Karnofsky score, CD4 cell count, and history of
injection drug use.
### Installation
You can install the package from oue public Gitlab site with the
following commands:
library("devtools")
devtools::install_git("https://gitlab.novisci.com/nsPublicData/actg.git")
library(actg)
### List of Variables (variable name: definition)
- id: patient identifier
- sex: Male, Female
- race: White, Black, Hispanic
- idu: 1=history of injection drug use, 0 = no history of injection drug
- idu: 1=history of injection drug use, 0=no history of injection drug
use
- art: factor variable for treatment group (1 = triple therapy,
0 = dual therapy)
- art: 1=triple therapy, 0=dual therapy
- art\_f: factor variable for treatment group (1=triple therapy,
0=dual therapy)
- r: 1=in subcohort, 0=not
- age: years of age at randomization
- karnofsky_score: Karnofsky score (100 = normal, 0 = dead)
- karnofsky: dichotomized Karnofsky score (< 90, >= 90)
- karnof: Karnofsky score (100=normal, 0=dead)
- days: days from randomization to endpoint of censoring
- cd4: CD4 count in cells/mm^3 at randomization
- stop: day therapy stopped, missing if not stopped
- y: time of event (AIDS or death)
- drop_out: time of censoring due to drop-out
- censor: time of censoring not due to drop-out
- Y: time of event (AIDS or death)
- C1: time of censoring due to drop-out
- C2: time of censoring not due to drop-out
<!-- -->
actg[1:20,]
## id idu art r age karnofsky_score days cd4 stop y
## 1 10333 No Dual therapy 1 40 90 132 95 29 NA
## 2 10350 No Triple therapy 0 51 90 139 185 NA NA
## 3 10491 Yes Dual therapy 1 63 90 363 180 NA NA
## 4 10719 No Dual therapy 1 31 100 113 52 78 113
## 5 11158 No Dual therapy 1 40 90 229 189 NA NA
## 6 11656 No Triple therapy 0 49 90 350 120 NA NA
## 7 11760 Yes Triple therapy 0 43 80 340 60 NA NA
## 8 11767 No Triple therapy 0 43 90 356 85 NA NA
## 9 11796 No Triple therapy 1 45 80 308 10 50 NA
## 10 11806 No Dual therapy 1 49 80 355 40 196 NA
## 11 11851 No Dual therapy 1 39 100 306 20 186 NA
## 12 11884 No Dual therapy 1 46 90 343 12 167 NA
## 13 11898 No Triple therapy 0 31 100 278 151 NA NA
## 14 11899 No Dual therapy 1 26 100 332 75 159 NA
## 15 11900 Yes Dual therapy 1 34 100 336 97 170 NA
## 16 11901 No Dual therapy 1 43 90 332 31 NA NA
## 17 11902 No Dual therapy 1 34 90 334 52 NA NA
## 18 11904 No Triple therapy 1 38 90 280 3 NA NA
## 19 11905 No Dual therapy 1 32 100 280 113 NA NA
## 20 11921 No Dual therapy 1 41 80 271 15 NA NA
## drop_out censor race karnofsky sex
## 1 132 NA White Score >= 90 Male
## 2 NA 139 White Score >= 90 Male
## 3 NA 363 White Score >= 90 Male
## 4 NA NA White Score >= 90 Male
## 5 NA 229 Hispanic Score >= 90 Female
## 6 NA 350 White Score >= 90 Male
## 7 NA 340 White Score < 90 Male
## 8 NA 356 Black Score >= 90 Male
## 9 308 NA White Score < 90 Male
## 10 NA 355 White Score < 90 Female
## 11 NA 306 Black Score >= 90 Male
## 12 NA 343 White Score >= 90 Male
## 13 NA 278 Black Score >= 90 Male
## 14 NA 332 White Score >= 90 Male
## 15 NA 336 White Score >= 90 Male
## 16 NA 332 Black Score >= 90 Male
## 17 NA 334 White Score >= 90 Male
## 18 NA 280 White Score >= 90 Male
## 19 NA 280 Black Score >= 90 Male
## 20 NA 271 White Score < 90 Male
### Notes
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment