A function to compute Cox-Snell / modeified Cox-Snell / Martingale or Deviance residuals
# S3 method for mcmcspatsurv
residuals(object, type = "Cox-Snell", ...)
the residuals
an object produced by the function survspat
type of residuals to return. Possible choices are 'Cox-Snell', 'modified-Cox-Snell', 'Martingale' or 'deviance'.
other arguments (not used here)