sample_module_nodes {SeqNet} | R Documentation |
Sample nodes for new module
Description
Sample nodes for new module
Usage
sample_module_nodes(n, nodes, degree, nu = 0.01, ...)
Arguments
n |
The number of nodes to sample. |
nodes |
The nodes available to sample from. |
degree |
The degree of each node. |
nu |
Multiplier for nodes that are already in one or more modules. |
... |
Additional arguments are ignored. |
Value
A vector of selected nodes of length m.
Note
This function is used by create_modules_for_network
and is not meant to be used externally.
[Package SeqNet version 1.1.3 Index]