Skip to contents

A matrix containing data from a clinical trial with a treatment arm and a control arm, as well as data from an external control.

Usage

example_matrix

Format

A data frame with 50 rows and 6 variables:

ext

0/1, flag for external controls

trt

0/1, flag for treatment arm

cov1

0/1, baseline covariate

cov2

0/1, baseline covariate

time

numeric >0, survival time

cnsr

0/1, censoring indicator

resp

0/1, indicator for respiratory outcome