R/data.R

#' Simulated dataset for demonstration
#'
#' A simulated data frame with variables
#' \describe{
#'   \item{id}{subjects identification}
#'   \item{Time}{observation times}
#'   \item{death}{event/death indicator; 1 = an event (death) is recorded}
#'   \item{z1}{baseline covariate generated from a standard uniform distribution}
#'   \item{z2}{baseline covariate generated from a standard uniform distribution (independent from \code{z1}}
#' }
#'
#' @details
#' The sample dataset is generated by \code{set.seed(1); simu(100, 0, 1.3)}.
#' See \code{\link{simu}} for details of the \code{simu} function.
#'
#' @docType data
#' @name simDat
#' @format A data frame with 5050 rows and 5 variables.
NULL

Try the rocTree package in your browser

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

rocTree documentation built on Aug. 1, 2020, 5:06 p.m.