print.VARDetect.result: Function to print the change points estimated by VARDetect

print.VARDetect.resultR Documentation

Function to print the change points estimated by VARDetect

Description

Print the estimated change points of class VARDetect.result

Usage

## S3 method for class 'VARDetect.result'
print(x, ...)

Arguments

x

a VARDetect.result class object

...

not in use

Value

Print the estimated change points

Examples

nob <- 1000
p <- 15
brk <- c(floor(nob / 3), floor(2 * nob / 3), nob + 1)
m <- length(brk)
q.t <- 1
try <- simu_var('sparse',nob=nob,k=p,lags=q.t,brk=brk,sp_pattern="off-diagonal",seed=1)
data <- try$series
data <- as.matrix(data)
fit <- tbss(data, method = "sparse", q = q.t)
print(fit)

VARDetect documentation built on May 10, 2022, 9:07 a.m.