select.var_estimate: Graph Selection for 'var.estimate' Object

Description Usage Arguments Value Examples

View source: R/select.VAR_estimate.R

Description

Graph Selection for var.estimate Object

Usage

1
2
## S3 method for class 'var_estimate'
select(object, cred = 0.95, alternative = "two.sided", ...)

Arguments

object

An object of class VAR.estimate.

cred

Numeric. The credible interval width for selecting the graph (defaults to 0.95; must be between 0 and 1).

alternative

A character string specifying the alternative hypothesis. It must be one of "two.sided" (default), "greater" or "less". See note for futher details.

...

Currently ignored.

Value

An object of class select.var_estimate, including

Examples

1
2
3
4
5
6
7
8
# data
Y <- subset(ifit, id == 1)[,-1]

# fit model with alias (var_estimate also works)
fit <- var_estimate(Y, progress = FALSE)

# select graphs
select(fit, cred = 0.95)

BGGM documentation built on Aug. 20, 2021, 5:08 p.m.