residuals.mcmcspatsurv: resuiduals.mcmcspatsurv function

View source: R/postprocessing.R

residuals.mcmcspatsurvR Documentation

resuiduals.mcmcspatsurv function

Description

A function to compute Cox-Snell / modeified Cox-Snell / Martingale or Deviance residuals

Usage

## S3 method for class 'mcmcspatsurv'
residuals(object, type = "Cox-Snell", ...)

Arguments

object

an object produced by the function survspat

type

type of residuals to return. Possible choices are 'Cox-Snell', 'modified-Cox-Snell', 'Martingale' or 'deviance'.

...

other arguments (not used here)

Value

the residuals


spatsurv documentation built on Oct. 19, 2023, 9:07 a.m.