Learn R Programming

trafficCAR (version 0.1.0)

residuals.traffic_fit: Residuals for trafficCAR fits

Description

Computes raw, structured (spatial), or unstructured residuals from a fitted trafficCAR model.

Usage

# S3 method for traffic_fit
residuals(object, type = c("raw", "structured", "unstructured"), ...)

Value

Numeric vector of residuals.

Arguments

object

A `traffic_fit` object.

type

Residual type: "raw", "structured", or "unstructured".

...

Unused.