Description Usage Arguments Value Note
Sample link nodes for new module
1 2 3 4 5 6 7 8 9 | sample_link_nodes(
n,
nodes,
degree,
alpha = 100,
beta = 1,
epsilon = 10^-5,
...
)
|
n |
The number of link nodes to sample. |
nodes |
The nodes to sample from. |
degree |
The degree of each node. |
alpha |
A positive value used to parameterize the Beta distribution. |
beta |
A positive value used to parameterize the Beta distribution. |
epsilon |
Used when sampling link nodes. |
... |
Additional arguments are ignored. |
A vector of selected nodes (possibly of length 1).
This function is used by create_modules_for_network
and is not meant to be used externally.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.