R/asi.R

#' Did patient use intravenous drugs
#'
#' @description IV drug use information from the Addiction Severity Index
#'
#' @docType data
#'
#' @usage data(asi)
#'
#' @format A tibble with `r scales::comma(nrow(asi))` rows and
#' `r ncol(asi)` variables:
#'
#' \describe{
#'   \item{**who**}{
#'
#'   | _Type:_        | integer    |
#'   | -------------- | ---------- |
#'   |                |            |
#'   | _Description:_ |   Patient ID          |
#'
#'   }
#'
#'   \item{**used_iv**}{
#'
#'   | _Type:_        | factor (First/Reference level = `r levels(asi$used_iv)[1]`)    |
#'   | -------------- | ---------- |
#'   |                |            |
#'   | _Description:_ |  Self-reported history of IV drug use          |
#'   |                |            |
#'   | _Levels:_      | `r levels(asi$used_iv)` |
#'
#'   }
#'
#' }
"asi"

Try the public.ctn0094data package in your browser

Any scripts or data that you put into this service are public.

public.ctn0094data documentation built on Oct. 1, 2023, 5:08 p.m.