R/val_data.R

#' model validation data
#'
#' A dataset containing sample model validation data
#'
#' @format A data frame with 400 rows and 5 variables:
#' \itemize{
#'   \item{age}{age of the patient}
#'   \item{severity}{whether or not the disease was severe}
#'   \item{sex}{binary sex variable, 1 for female and 0 for male}
#'   \item{comorbidity}{whether or not comorbidities are present}
#'   \item{y}{response variable}
#' }
#' @docType data
#' @keywords datasets
#' @name val_data
#' @source Simulated
NULL

Try the predtools package in your browser

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

predtools documentation built on June 7, 2023, 5:58 p.m.