R/tab-data.R

#' Sample Dataset for \pkg{tab} Package
#'
#' Data frame with 15 variables, used to illustrate certain functions.
#'
#' @name tabdata
#' @docType data
#' @source
#' Simulated data in R
NULL
#'
#'
#' Sample Survey Dataset for \pkg{tab} Package
#'
#' Data frame with with 9 variables, used to illustrate certain functions. Data
#' are derived from the National Health and Nutrition Examination Survey, years
#' 2003-2004, although the variables 'time' and 'event' are simulated (fake).
#'
#' @name tabsvydata
#' @docType data
#' @source https://wwwn.cdc.gov/Nchs/Nhanes/2003-2004/DEMO_C.htm
#' @references
#' Centers for Disease Control and Prevention (CDC). National Center for Health
#' Statistics (NCHS). National Health and Nutrition Examination Survey Data.
#' Hyattsville, MD: US Department of Health and Human Services, Centers for
#' Disease Control and Prevention, 2003-2004.
#' https://wwwn.cdc.gov/nchs/nhanes/continuousnhanes/default.aspx?BeginYear=2003.
#' Accessed June 8, 2019.
NULL

Try the tab package in your browser

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

tab documentation built on Aug. 2, 2021, 9:06 a.m.