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

fitted-methodsR Documentation

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

Description

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

Methods

signature(x = "ANY")

Generic fitted function, see stats package description using ?fitted

signature(x = "cpt")

Returns the fitted values for 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 fitted values for ncpts changepoints in, i.e. the optimal may be specified as 10 changes but you want to get the fitted 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 fitted values for the model fit to x. Adapts to the specific model type.


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