plotnetarray {NetworkChange}R Documentation

Plot of network array data

Description

Plot network array data

Usage

plotnetarray(
  Y,
  n.graph = 4,
  node.size = 2,
  node.color = "brown",
  edge.alpha = 0.5,
  edge.size = 0.2,
  edge.color = "grey"
)

Arguments

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."

Value

A plot object

References

Jong Hee Park and Yunkyun Sohn. 2020. "Detecting Structural Change in Longitudinal Network Data." Bayesian Analysis. Vol.15, No.1, pp.133-157.

Examples


   ## 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)

[Package NetworkChange version 0.8 Index]