R/data.R

#' Low Birth Weight Data
#'
#' @format A data frame with 36 observations and 5 variables:
#' \describe{
#' \item{SMOKING}{Smoking}
#' \item{ALCOHOL}{Alcohol use}
#' \item{SOCCLASS}{Social Economic Class}
#' \item{LWB}{Low Birth Weight}
#' \item{NUMBERS}{Bumber of observations in groups}
#' }
#' @examples
#' data(lbw)
"lbw"


#' Pain data
#'
#' @format A data frame with 100 observations:
#' \describe{
#' \item{ptno }{Patient number}
#' \item{treatm}{Treatment}
#' \item{sex}{sex}
#' \item{height}{height of patient in cm}
#' \item{weight}{weight of patient in kg}
#' \item{comorb}{Does the patient have one or more comorbidities}
#' \item{painbl}{Pain at baseline on a 0-100 VAS scale}
#' \item{painfu}{Pain at follow up on a 0-100 VAS scale}
#' \item{race}{ethnicity of the patient Levels: Asian Black Caucasian}
#' }
#' @examples
#' data(pain)
"pain"

#' Cancer data
#'
#' @format A data frame with 52 observations and 9 variables:
#' \describe{
#' \item{ptno }{Patient number}
#' \item{treatm}{Treatment}
#' \item{sex}{sex}
#' \item{height}{height of patient in cm}
#' \item{weight}{weight of patient in kg}
#' \item{comorb}{Does the patient have one or more comorbidities}
#' \item{painbl}{Pain at baseline on a 0-100 VAS scale}
#' \item{painfu}{Pain at follow up on a 0-100 VAS scale}
#' \item{race}{ethnicity of the patient Levels: Asian Black Caucasian}
#' }
#' @examples
#' data(pain)
"cancer"
stenw/BST02R documentation built on May 26, 2019, 4:35 a.m.