coef.L0TFinvfix {L0TFinv}R Documentation

Extract estimated trends

Description

Extract the coefficients of the estimated trends under the constraint of a given number of change points.

Usage

## S3 method for class 'L0TFinvfix'
coef(object, k = NULL, ...)

## S3 method for class 'L0TFinvopt'
coef(object, k = NULL, ...)

Arguments

object

The output of L0TFinvfix or L0TFinvopt

k

The given number of change points

...

ignore

Value

Estimated parameters and trends for L0TFinvfix or L0TFinvopt models with specified numbers of change points

See Also

print.L0TFinvfix


[Package L0TFinv version 0.1.0 Index]