# NOT RUN {
library(survELtest)
ptwiseELtest(survival::Surv(hepatitis$time, hepatitis$censor)~
hepatitis$group, sided = 1)
## OUTPUT:
## Call:
## ptwiseELtest(formula = survival::Surv(hepatitis$time, hepatitis$censor) ~
## hepatitis$group, sided = 1)
##
## Range of time_pts is from 5.2 to 153.1
## 30 out of 45 decisions are 1, the other 15 decisions are 0
## -----
## Summary of stat_ptwise:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.000 2.293 3.694 4.263 6.288 10.360
## -----
## Summary of critval_ptwise:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 2.117 2.346 2.483 2.509 2.669 2.951
# }
Run the code above in your browser using DataLab