1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
\name{graphicalVARsim}
\alias{graphicalVARsim}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Simulates data from the graphical VAR model
}
\description{
Simulates data from the graphical VAR model, see \code{\link{graphicalVAR}} for details.
}
\usage{
graphicalVARsim(nTime, beta, kappa, mean = rep(0, ncol(kappa)), init =
                 mean, warmup = 100, lbound = rep(-Inf, ncol(kappa)),
                 ubound = rep(Inf, ncol(kappa)))
}
%- maybe also 'usage' for other objects documented here.
\arguments{
  \item{nTime}{
Number of time points to sample
}
  \item{beta}{
The Beta matrix to use
}
  \item{kappa}{
The Kappa matrix to use
}
  \item{mean}{
Means to use
}
  \item{init}{
Initial values
}
  \item{warmup}{
The amount of samples to use as warmup (not returned)
}
  \item{lbound}{
Lower bound, at every time point values below this bound are set to the bound.
}
  \item{ubound}{
Upper bound, at every time point values above this bound are set to the bound.
}
}

\value{
A matrix containing the simulated data.
}
\author{
Sacha Epskamp <mail@sachaepskamp.com>
}