Learn R Programming

smcfcs (version 1.9.2)

ex_flexsurv: Simulated example data with time-to-event Weibull outcome and two covariates

Description

A dataset containing simulated data where the time-to-event outcome is Weibull distributed with two covariates, one of which is partially observed.

Usage

ex_flexsurv

Arguments

Format

A data frame with 1000 rows and 4 variables:

t

Time to event (d=1) or censoring (d=0)

d

Event indicator

x

Partially observed binary covariate

z

Fully observed continuous covariate