rmst_unadjust.Rd
Estimate the unadjusted RMST (point estimate).
rmst_unadjust(time, status, trt, tau)
A vector containing the event time of the sample.
A vector containing the survival status of the sample.
A vector indicating the treatment assignment. 1 for treatment group. 0 for placebo group.
Numeric. A value for the restricted time or the pre-specified cutoff time point.
A data frame including the survival time for each trt and the difference. SE were also calculated.
Mean survival time for trt0
SE of mu0
Mean survival time for trt1
SE of mu1
Difference between mu0 and mu1
SE of delta