Learn R Programming

smcfcs (version 1.7.1)

ex_dtsam: Simulated discrete time survival data set

Description

A dataset containing simulated discrete time survival data.

Usage

ex_dtsam

Arguments

Format

A data frame with 1000 rows and 8 variables:

x1

A binary variable with missing values

x2

A fully observed continuous variable

failtime

The discrete failure/censoring time

d

Indicator of failure (=1) or censoring (=0)