R/anderson.R

#' Remission survival times of 42 leukemia patients
#'
#' A dataset containing  survival time of 42 leukemia patients
#'
#' @format A data.frame with 42 rows and 5 variables
#' \describe{
#' \item{time}{survival time in weeks}
#' \item{status}{censoring status 1=failure 0=censored}
#' \item{sex}{sex 0=Female 1=Male}
#' \item{logWBC}{log white blood cell count}
#' \item{rx}{treatment status 1=control 0 =treatment}
#' }
#' @source David G. Kleinbaum and Mitchel Klein. Survival Analysis. A Self-Learning Text(3rd ed)(Springer,2012) ISBN: 978-1441966452
"anderson"

#' Remission survival times of 42 leukemia patients
#'
#' A dataset containing  survival time of 42 leukemia patients
#' This data is the same data with anderson, but sex and rx variable are factors not numeric
#'
#' @format A data.frame with 42 rows and 5 variables
#' \describe{
#' \item{time}{survival time in weeks}
#' \item{status}{censoring status 1=failure 0=censored}
#' \item{sex}{sex "Female" or "Male}
#' \item{logWBC}{log white blood cell count}
#' \item{rx}{treatment status "treatment" or "control"}
#' }
#' @source David G. Kleinbaum and Mitchel Klein. Survival Analysis. A Self-Learning Text(3rd ed)(Springer,2012) ISBN: 978-1441966452
"anderson1"

#' Remission survival times of 31 leukemia patients
#'
#' This data is subdata of anderson with medium(2.3 < logWBC <= 2.96) and high WBC count(logWBC > 2.96)
#'
#' A dataset containing  survival time of 31 leukemia patients
#'
#' @format A data.frame with 31 rows and 6 variables
#' \describe{
#' \item{time}{survival time in weeks}
#' \item{status}{censoring status 1=failure 0=censored}
#' \item{sex}{sex 0=Female 1=Male}
#' \item{logWBC}{log white blood cell count}
#' \item{rx}{treatment status 1=control 0 =treatment}
#' \item{WBCCAT}{WBC count group 1=medium 2=high}
#' }
#' @source David G. Kleinbaum and Mitchel Klein. Survival Analysis. A Self-Learning Text(3rd ed)(Springer,2012) ISBN: 978-1441966452
"anderson2"

Try the autoReg package in your browser

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

autoReg documentation built on Nov. 14, 2023, 9:07 a.m.