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