Learn R Programming

LSVAR (version 1.2)

summary.LSVAR: Summary of LSVAR S3 class

Description

summary function for S3 class for the fitting result

Usage

# S3 method for LSVAR
summary(object, threshold = 0.2, ...)

Arguments

object

the S3 class object of LSVAR

threshold

the threshold for sparse component visualization

...

not in use

Value

A series of summary for the S3 result

Examples

Run this code
# NOT RUN {
n <- 300
p <- 20
try <- testVAR(n, p, struct = "LS", signal = 0.75, rank = 2,
               singular_vals = c(1, 0.8))
data <- as.matrix(try$series)
lambda <- 0.1; mu <- 1
fit <- fista.LpS(data, lambda = lambda, mu = mu, x.true = try$model_param)
summary(fit, threshold = 0.2)
# }

Run the code above in your browser using DataLab