R/dataset.R

#' @title longitudinal data
#' @docType  data
#' @description A longitudinal dataset with single marker , with different numeric and categorical covariate
#' @usage data(long2)
#' @format a tibble of 13 columns and 5639 observations,
#' \describe{
#' \item{id}{id value for subjects}
#' \item{status}{survival status}
#' \item{time}{ survival time}
#' \item{y}{longitudinal marker}
#' \item{visit}{visit time of longitudinal measurements}
#' \item{x1,x2,...,x7}{ different numeric and categorical variable}
#'
#' }
#'
"long2"

#' @title survival data
#' @docType data
#' @description A survival dataset related the long2 dataset, with different numeric and categorical covariate
#' @usage data(surv2)
#' @format a tibble of 13 columns and 1000 observations,
#' \describe{
#' \item{id}{id value for subjects}
#' \item{status}{survival status}
#' \item{time}{ survival time}
#' \item{visit}{visit time of longitudinal measurements}
#' \item{x1,x2,...,x7}{ different numeric and categorical variable}
#'
#' }
#'
"surv2"


#' @title longitudinal- survival dataset
#' @docType  data
#' @description A longitudinal dataset with single marker , with different numeric and categorical covariate
#' @usage data(longsurv)
#' @format a tibble of 13 columns and 5639 observations,
#' \describe{
#' \item{id}{id value for subjects}
#' \item{status}{survival status}
#' \item{time}{ survival time}
#' \item{y}{longitudinal marker}
#' \item{visit}{visit time of longitudinal measurements}
#' \item{x1,x2,...,x7}{ different numeric and categorical variable}
#'
#' }
#'
"longsurv"

Try the jmBIG package in your browser

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

jmBIG documentation built on May 29, 2024, 6:04 a.m.