Skip to content

Commit

Permalink
documentation of antidepressant data
Browse files Browse the repository at this point in the history
nociale committed Sep 22, 2021
1 parent aa63f7b commit 014d4c2
Showing 2 changed files with 46 additions and 0 deletions.
17 changes: 17 additions & 0 deletions R/data.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#' Antidepressant trial data.
#'
#' A dataset containing the data from a public available antidepressant clinical trial of an active drug versus placebo.
#' The relevant endpoint is the Hamilton 17-item rating scale for depression (HAMD17) which was assessed at baseline and weeks 1, 2, 4, and 6.
#' Study drug discontinuation occurred in 24% (20/84) for the active drug and 26% (23/88) for placebo.
#' All data after study drug discontinuation are missing and there is a single additional intermittent missing observation.
#'
#' @format A data frame with 608 rows and 11 variables:
#' - `PATIENT`: patients IDs.
#' - `VISIT`: post-baseline visit. Has levels 4,5,6,7.
#' - `THERAPY`: the treatment group variable. It is equal to `PLACEBO` for observations
#' from the placebo arm, or `DRUG` for observations from the active arm.
#' - `basval`: baseline outcome value.
#' - `HAMDTL17`: Hamilton 17-item rating scale value.
#' - `change`: change from baseline in the Hamilton 17-item rating scale.
#' - ...
"antidepressant_data"
29 changes: 29 additions & 0 deletions man/antidepressant_data.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 014d4c2

Please sign in to comment.