## Median survival in the comparator group
metamedian_survival(data = dat.lung, estimand = "median_g2")
## Difference of median survival
metamedian_survival(data = dat.lung, estimand = "difference_median")
## Ratio of median survival (logarithm scale)
metamedian_survival(data = dat.lung, estimand = "ratio_median")
Run the code above in your browser using DataLab