Ex2delayedEffect | R Documentation |

Survival objects reverse-engineered datasets from published Kaplan-Meier curves. Individual trials are de-identified since the data are only approximations of the actual data. Data are intended to evaluate methods and designs for trials where non-proportional hazards may be anticipated for outcome data.

```
data(Ex2delayedEffect)
```

Data frame with 4 variables:

- id
sequential numbering of unique identifiers

- month
time-to-event

- event
1 for event, 0 for censored

- trt
1 for experimental, 0 for control

TBD

`Ex1delayedEffect`

, `Ex3curewithph`

, `Ex4belly`

,
`Ex5widening`

, `Ex6crossing`

```
library(survival)
data(Ex2delayedEffect)
km1 <- with(Ex2delayedEffect,survfit(Surv(month,evntd)~trt))
km1
plot(km1)
with(subset(Ex2delayedEffect,trt==1),survfit(Surv(month,evntd)~trt))
with(subset(Ex2delayedEffect,trt==0),survfit(Surv(month,evntd)~trt))
```

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.