Description Usage Arguments Author(s) References See Also Examples
Graphs of the (temporal and/or contemporaneous) relations among the variates as implied by the parameters of the VARX(1) model.
1 2 3 4 5 6 7 8 | graphVARX1(sparseA, sparseB, sparseP, type="TSCG", side="right",
prune=TRUE, nNamesY=NULL, nNamesX=NULL, main=NULL,
vertex.color.X="lightcyan2", vertex.color.T0="lightcyan2",
vertex.color.T1="lightcyan2", vertex.frame.color="steelblue",
vertex.label.cex=-1, vertex.label.color.X="black",
vertex.label.color.T0="black", vertex.label.color.T1="black",
vertex.label.font=1.5, vertex.size=-1, edge.arrow.size=-1,
edge.width=-1, ...)
|
sparseA |
A |
sparseB |
A |
sparseP |
Precision |
type |
A |
side |
A |
prune |
A |
nNamesY |
A |
nNamesX |
A |
main |
The |
vertex.color.X |
Color of covariate nodes. |
vertex.color.T0 |
Color of nodes at time point t. This is ignored when |
vertex.color.T1 |
Color of nodes at time point t+1. This is ignored when |
vertex.frame.color |
Refer to |
vertex.label.cex |
Refer to |
vertex.label.color.X |
Color of the covariate node label. |
vertex.label.color.T0 |
Color of the node label at time point t. Ignored when |
vertex.label.color.T1 |
Color of the node label at time point t+1. Ignored when |
vertex.label.font |
Refer to |
vertex.size |
Refer to |
edge.arrow.size |
Refer to |
edge.width |
Refer to |
... |
Other arguments to be passed on to |
Wessel N. van Wieringen <w.vanwieringen@vumc.nl>
Miok, V., Wilting, S.M., Van Wieringen, W.N. (2019), “Ridge estimation of network models from time-course omics data”, Biometrical Journal, 61(2), 391-405.
ridgeVARX1
, graphVAR1
, graphVAR2
, sparsifyVARX1
, plot.igraph
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # specify VARX(1) model parameters
A <- matrix(c(-0.1, -0.3, 0, 0.5, 0, 0,
0, 0, -0.4, -0.1, -0.3, 0,
0.5, 0, 0, 0, 0, -0.4,
-0.1, -0.3, 0, 0.5, 0, 0,
0, 0, -0.4, -0.1, -0.3, 0,
0.5, 0, 0, 0, 0, -0.4), byrow=TRUE, ncol=6)
B <- matrix(c( 0, 0, 0.2, 0, 0.3, -0.7,
0, 0, 0, 0.4, 0, 0,
0, -0.3, 0, 0, 0, 0,
0, 0, 0.5, 0, 0.1, 0,
0, 0, 0, 0, 0.4, 0,
0, 0, 0, 0.4, 0, 0), byrow=TRUE, ncol=6)
P <- matrix(c( 2, 0, -0.5, 0.5, 0, 0.5,
0, 1, 0.5, 0.5, 0.5, 0,
-0.5, 0.5, 1, 0, 0, 0.5,
0.5, 0.5, 0, 1, 0, 0,
0, 0.5, 0, 0, 1, 0,
0.5, 0, 0.5, 0, 0, 1), byrow=TRUE, ncol=6)
# time-series chain graph of the VARX(1) model
graphVARX1(A, B, P, type="TSCG")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.