Description Usage Format References See Also Examples
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.
1 |
Data frame with 4 variables:
sequential numbering of unique identifiers
time-to-event
1 for event, 0 for censored
1 for experimental, 0 for control
TBD
Ex1delayedEffect
, Ex2delayedEffect
, Ex4belly
,
Ex5widening
, Ex6crossing
1 2 3 4 5 6 7 | data(Ex3curewithph)
library(survival)
km1 <- with(Ex3curewithph,survfit(Surv(month,evntd)~trt))
km1
plot(km1)
with(subset(Ex3curewithph,trt==1),pwexpfit(Srv=Surv(month,evntd),array(1,4)))
with(subset(Ex3curewithph,trt==0),pwexpfit(Srv=Surv(month,evntd),array(1,4)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.