The censoring indicator, 1=event, and 0=censoring.
x
The covariate matrix. The first colomn of this matrix should be the group indicator, arm (below).
arm
The group indicator, 1/0.
tau
The value indicates the restricted time point on the follow-up time to calculate the restricted mean survival time.
type
The type of the between-group contrast measure: "difference"(default), "ratio" or "lossratio".
conf.int
The level for computation of the confidence intervals. The default is 0.95.
References
Tian L, Zhao L, Wei LJ. Predicting the restricted mean event time with the subject's baseline covariates in survival analysis. Biostatistics 2014, 15, 222-233.