residuals.mcmcspatsurv: resuiduals.mcmcspatsurv function

Description Usage Arguments Value

View source: R/postprocessing.R

Description

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

Usage

1
2
## 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


bentaylor1/spatsurv documentation built on May 11, 2017, 7:14 a.m.