resid-BinSeg-method: Obtain the residuals of the model

Description Usage Arguments Value

Description

This method allows to compute the segment residuals to later on validate the changepoint model. I has a different implementation according to the distribution, but in every case it removes the distribution assumption.

Usage

1
2
## S4 method for signature 'BinSeg'
resid(object)

Arguments

object

A valid BinSeg object

Value

A numeric vector with the model's residuals. It has the same length as the input data vector.


diego-urgell/BinSeg documentation built on Dec. 19, 2021, 11:11 p.m.