Learn R Programming

s20x (version 3.3.0)

getTslmDiagnosticData: Get tslm diagnostic data

Description

Collect fitted values, residuals, and time values for `tslm` diagnostic plots.

Usage

getTslmDiagnosticData(object, residualType = "normalised")

Value

A list with `fitted`, `residuals`, and `time` components.

Arguments

object

a fitted `tslm` object.

residualType

residual type requested for diagnostic plots.