coxsnell_flexsurvreg function

Cox-Snell residuals from a parametric survival model