Description Usage Arguments Value Author(s) Examples
According to a given edge density, first generate the adjacency matrix P of a graph. Based on P, the simulated multivariate normal data is generated with mean zero and a specified given precision matrix
1 | simulate(n, p, m1, m2)
|
n |
Sample size |
p |
The number of vertices in graph or the number of variables |
m1 |
The number of edges in the true graph |
m2 |
The number of elements in adjacency matrix that stay in different states, i.e., 0 or 1, in true and prior graphs |
A list including the simulated data, real adjacency matrix and a prior adjacency matrix
data |
simulated data |
realnetwork |
real adjacency matrix |
priornetowrk |
prior adjacency matrix |
Jie Zhou
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.