print.tsnet_fit: Print method for tsnet_fit objects

View source: R/print.R

print.tsnet_fitR Documentation

Print method for tsnet_fit objects

Description

This method provides a summary of the Bayesian GVAR model fitted with stan_gvar. It prints general information about the model, including the estimation method and the number of chains and iterations It also prints the posterior mean of the temporal and contemporaneous coefficients.

Usage

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

Arguments

x

A tsnet_fit object.

...

Additional arguments passed to the print method (currently not used).

Value

Prints a summary to the console.

Examples


# Load example data
data(ts_data)
example_data <- ts_data[1:100,1:3]

# Fit the model
fit <- stan_gvar(example_data,
                 method = "sampling",
                 cov_prior = "IW",
                 n_chains = 2)

print(fit)


tsnet documentation built on June 20, 2025, 9:08 a.m.