Description Usage Arguments Details Examples
Prune graph and regrow edges according of scale-free network
1 2 | RegrowNetwork(omega, n_nodes = ncol(omega) * 0.1, preferential_power = 1,
v = 0.3)
|
omega |
A precision matrix as created by ScaleNetwork |
n_nodes |
Number of nodes to prune and regrow. Default is 0.1 of all nodes. |
preferential_power |
Power coefficient alpha for weighting of degree number as alpha in prefential attachment mechanism. |
v |
Constant added to the off diagonal of the precision matrix for controlling the magnitude of partial correlations. |
Note that v and preferential_power agruments need to be equal to the ones which initially created omega.
1 2 3 4 | omega <- ScaleNetwork(20, v = 1)
omega_hat <- RegrowNetwork(omega, v = 1)
omega
omega_hat
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.