Learn R Programming

NetworkChange (version 0.8)

plotnetarray: 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

Run this code
# NOT RUN {
   
# }
# NOT RUN {
   set.seed(1973)
   ## generate an array with two constant blocks
   Y <- MakeBlockNetworkChange(n=10, shape=1, T=20, type ="split")
   plotnetarray(Y)
   
# }

Run the code above in your browser using DataLab