calcMSR.Rd
Calculate Martingale Survival Residuals for a vector of cumulative hazards and status indicators (0/FALSE for censoring and 1/TRUE for events)
calcMSR(cumHaz, status = NA)
cumHaz | A vector of cumulative hazards for the event of interest (length N) |
---|---|
status | A vector of status indicators (length N) |
A vector of Martingale Survival Residuals (length N)
https://www.biorxiv.org/content/early/2017/01/31/104406
calcMSR