Description Usage Arguments Value Examples
Spawn a erdos renyi type random network covariance matrix
1 2 | RandomNetwork(p, prob = min(1, 5/p), u = 0.1, v = 0.3, prec_mat = F,
scaled = F)
|
p |
Positive integer.The desired number of dimensions. |
prob |
Probabilty that a pair of nodes have a common edge. |
u |
Constant added to the diagonal elements of the precision matrix for controlling the magnitude of partial correlations. |
v |
Constant added to the off diagonal of the precision matrix for controlling the magnitude of partial correlations. |
prec_mat |
Should the precision matrix be returned? If false the covariance matrix will be returned (default). |
scaled |
If TRUE the created precision matrix will be inverted and scaled to a correlation matrix. |
A covariance matrix.
1 | RandomNetwork(50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.