residuals-methods: ~~ Methods for Function residuals in Package 'stats' ~~

residuals-methodsR Documentation

~~ Methods for Function residuals in Package ‘stats’ ~~

Description

~~ Methods for function residuals in Package ‘stats’ ~~

Methods

signature(x = "ANY")

Generic residuals function, see stats package description using ?residuals

signature(x = "cpt")

Returns the residuals values from the model fit to x. Adapts to the specific model type.

signature(x = "cpt.range")

As for the cpt objects except for one optional arguments, ncpts. The ncpts option allows you to specify the residuals values for ncpts changepoints in, i.e. the optimal may be specified as 10 changes but you want to get the residuals values for the segmentation with 5 changes (provided a segmentation with 5 changes is listed in cpts.full(x).

signature(x = "cpt.reg")

Returns the residuals values from the model fit to x. Adapts to the specific model type.


changepoint documentation built on Nov. 4, 2024, 9:06 a.m.