# Load example data
data("e1")
y <- log(t(e1))
k <- nrow(y)
y <- matrix(y)
# Generate artificial draws of other matrices
u_omega_i <- Matrix(diag(1, 3))
v_sigma_i <- Matrix(diag(1000, 3))
psi_init <- matrix(0, 3)
# Obtain posterior draw
post_normal_covar_tvp(y, u_omega_i, k, v_sigma_i, psi_init)
Run the code above in your browser using DataLab