| plotnetarray | R Documentation |
Plot network array data using ggplot2 and patchwork for layout.
plotnetarray(
Y,
n.graph = 4,
node.size = 2,
node.color = "brown",
edge.alpha = 0.5,
edge.size = 0.2,
edge.color = "grey"
)
Y |
network array data |
n.graph |
number of subgraphs. Default is 4. |
node.size |
node size. Default is 2. |
node.color |
node color. Default is "brown." |
edge.alpha |
transparency of edge. Default is 0.5. |
edge.size |
edge size. Default is 0.2. |
edge.color |
edge color. Default is "grey." |
A patchwork plot object
Jong Hee Park and Yunkyun Sohn. 2020. "Detecting Structural Change in Longitudinal Network Data." Bayesian Analysis. Vol.15, No.1, pp.133-157.
## Not run:
set.seed(1973)
## generate an array with two constant blocks
Y <- MakeBlockNetworkChange(n=10, shape=1, T=20, type ="split")
plotnetarray(Y)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.