Compute pseudo-observations for the restricted mean survival
Usage
pseudo_rmst2(sfit, jacks, times, tmax, type = "cuminc")
Arguments
- sfit
A survfit object
- jacks
A matrix of leave-one-out jackknife values, subjects in the rows, times in the columns
- times
Times at which the survival is calculated
- tmax
Max time
- type
"cuminc" or "survival"
Value
A vector of pseudo observations for the restricted mean or lifetime lost