print.VARDetect.result {VARDetect} | R 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 |
... |
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)
[Package VARDetect version 0.1.8 Index]