example_rct | R Documentation |

Hypothetical data from a randomized trial to be used in examples.

`data(example_rct)`

A data frame with 3000 observations on the following 6 variables.

`TL`

the observed event or censoring time for the primary outcome, equal to min(T, C) where T is the time of the primary outcome and C is the censoring time.

`DL`

the indicator telling whether the individual was observed to have the event or was censored, equal to 1*(T<C) where T is the time of the primary outcome and C is the censoring time.

`TS`

the observed event or censoring time for the intermediate event, equal to min(TS, C) where TS is the time of the intermediate event and C is the censoring time.

`DS`

the indicator telling whether the individual was observed to have the intermediate event or was censored, equal to 1*(TS<C) where TS is the time of the primary outcome and C is the censoring time.

`Z`

a baseline covariate vector

`treat`

treatment indicator

```
data(example_rct)
names(example_rct)
```

landest documentation built on Aug. 26, 2023, 1:08 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.