residuals-methods {changepoint} | R 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
. Thencpts
option allows you to specify the residuals values forncpts
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 incpts.full(x)
. signature(x = "cpt.reg")
-
Returns the residuals values from the model fit to x. Adapts to the specific model type.
[Package changepoint version 2.3 Index]