Description Usage Arguments Author(s) See Also Examples
Plot of time series data. Per variate and individual a line connecting the observations at each time point is plotted.
1 | plotVAR1data(Y, lwd=1)
|
Y |
Three-dimensional |
lwd |
A |
Wessel N. van Wieringen <w.vanwieringen@vumc.nl>
1 2 3 4 5 6 7 8 9 10 11 12 | # set dimensions (p=covariates, n=individuals, T=time points)
p <- 3; n <- 4; T <- 10
# set model parameters
SigmaE <- diag(p)/4
A <- createA(p, "chain")
# generate data
Y <- dataVAR1(n, T, A, SigmaE)
# plot data sampled from the VAR(1) model.
plotVAR1data(Y, lwd=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.