survivaldata: Time-to-event dataset for analyzing adaptive Bayesian trials

Description Usage Format Examples

Description

A dataset containing the results of 100 patients with time-to-event outcome, the dataset is filled with treatment assignment and status (0 = censored, 1 = not censored).

Usage

1

Format

A data frame with 100 rows and 4 variables:

id

Patient ID in the trial.

treatment

Treatment assignment for patients, 1 for treatment group 0 for control group.

time

The follow up time for patients.

event

The status indicator, normally 0=alive, 1=dead or 0 = no event, 1 = event occurred.

Examples

1

thevaachandereng/bayesCT documentation built on July 25, 2020, 9:20 p.m.