plot_network {LSVAR} | R Documentation |
plot sparse component for use igraph and network layout
Description
Plot a network to illustrate the estimated sparse component
Usage
plot_network(mat, threshold = 0.1)
Arguments
mat |
a p by p matrix, indicating the sparse component |
threshold |
the threshold for presenting the edges in the network |
Value
A network plot for the sparse component
Examples
set.seed(1)
est_mats <- matrix(rnorm(400, 0, 1), 20, 20)
plot_network(est_mats, threshold = 0.1)
[Package LSVAR version 1.2 Index]