R/data.R

#' NCCTG Lung Cancer Data from survival R package
#'
#' Survival in patients with advanced lung cancer from the North Central Cancer Treatment Group.
#' Performance scores rate how well the patient can perform usual daily activities.
#'
#' @format This file has been copied from survival R package. See `survival::cancer`.
#' \describe{
#'   \item{inst}{Institution code}
#'   \item{time}{Survival time in days}
#'   \item{status}{censoring status 1=censored, 2=dead}
#'   \item{age}{Age in years}
#'   \item{sex}{Male=1 Female=2}
#'   \item{ph.ecog}{ECOG performance score as rated by the physician. 0=asymptomatic, 1= symptomatic but completely ambulatory, 2= in bed <50% of the day, 3= in bed > 50% of the day but not bedbound, 4 = bedbound}
#'   \item{ph.karno}{Karnofsky performance score (bad=0-good=100) rated by physician}
#'   \item{pat.karno}{Karnofsky performance score as rated by patient}
#'   \item{meal.cal}{Calories consumed at meals}
#'   \item{wt.loss:}{Weight loss in last six months}
#' }
#' @references Loprinzi CL. Laurie JA. Wieand HS. Krook JE. Novotny PJ. Kugler JW. Bartel J. Law M. Bateman M. Klatt NE. et al. Prospective evaluation of prognostic variables from patient-completed questionnaires. North Central Cancer Treatment Group. Journal of Clinical Oncology. 12(3):601-7, 1994.
"survival_cancer"

#' mtcars dataset from `datasets` package (Motor Trend Car Road Tests)
#'
#' The data was extracted from the 1974 Motor Trend US magazine, and comprises fuel consumption and 10 aspects of automobile design and performance for 32 automobiles (1973–74 models).
#'
#' @format A data frame with 32 observations on 11 (numeric) variables.
#' \describe{
#'   \item{mpg}{Miles/(US) gallon}
#'   \item{cyl}{Number of cylinders}
#'   \item{disp}{Displacement (cu.in.)}
#'   \item{hp}{Gross horsepower}
#'   \item{drat}{Rear axle ratio}
#'   \item{wt}{Weight (1000 lbs)}
#'   \item{qsec}{1/4 mile time}
#'   \item{vs}{Engine (0 = V-shaped, 1 = straight)}
#'   \item{am}{Transmission (0 = automatic, 1 = manual)}
#'   \item{gear}{Number of forward gears}
#'   \item{carb}{Number of carburetors}
#' }
#' @source Henderson and Velleman (1981), Building multiple regression models interactively. Biometrics, 37, 391–411.
"mtcars"
pcastellanoescuder/lassoloops documentation built on July 25, 2022, 12:42 p.m.