R/datasets.R

#' @docType data
#' @title Sample data set
#' @name fish
#' @keywords data
#'
#' @description A sample data set, used in tests and some examples.
NULL


#' @docType data
#' @title Sample data set
#' @name qol_cancer
#' @keywords data
#'
#' @description A sample data set with longitudinal data, used in the vignette describing the `datawizard::demean()` function. Health-related quality of life from cancer-patients was measured at three time points (pre-surgery, 6 and 12 months after surgery).
#'
#' @format A data frame with 564 rows and 7 variables:
#' \describe{
#'   \item{ID}{Patient ID}
#'   \item{QoL}{Quality of Life Score}
#'   \item{time}{Timepoint of measurement}
#'   \item{age}{Age in years}
#'   \item{phq4}{Patients' Health Questionnaire, 4-item version}
#'   \item{hospital}{Hospital ID, where patient was treated}
#'   \item{education}{Patients' educational level}
#' }
NULL

Try the parameters package in your browser

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

parameters documentation built on Nov. 2, 2023, 6:13 p.m.