View source: R/print.varshrinkest.R
| print.varshrinkest | R Documentation |
print method for an object of class "varshrinkest"
## S3 method for class 'varshrinkest'
print(x, digits = max(3, getOption("digits") - 3), ...)
x |
An object of class "varshrinkest" |
digits, ... |
Other arguments for |
data(Canada, package = "vars")
y <- diff(Canada)
estim <- VARshrink(y, p = 2, type = "const", method = "ridge")
print(estim)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.