Learn R Programming

CRTspat (version 1.4.0)

residuals.CRTanalysis: Extract model residuals

Description

residuals.CRTanalysis method for extracting model residuals

Usage

# S3 method for CRTanalysis
residuals(object, ...)

Value

the residuals from the statistical model run within the CRTanalysis function

Arguments

object

CRTanalysis object

...

other arguments

Examples

Run this code
{example <- readdata('exampleCRT.txt')
exampleGEE <- CRTanalysis(example, method = "GEE")
residuals <- residuals(exampleGEE)
}

Run the code above in your browser using DataLab