rpa_control_scenario {wdnet} | R Documentation |
Control edge scenarios. Defined for rpanet
.
Description
Control edge scenarios. Defined for rpanet
.
Usage
rpa_control_scenario(
alpha = 1,
beta = 0,
gamma = 0,
xi = 0,
rho = 0,
beta.loop = TRUE,
source.first = TRUE
)
Arguments
alpha |
Probability of adding an edge from a new node to an existing node. |
beta |
Probability of adding an edge between existing nodes. |
gamma |
Probability of adding an edge from an existing node to a new node. |
xi |
Probability of adding an edge between two new nodes. |
rho |
Probability of adding a new node with a self-loop. |
beta.loop |
Logical. Determines whether self-loops are allowed under the
beta scenario. Default value is |
source.first |
Logical. Defined for |
Value
A list of class rpacontrol
with components alpha
,
beta
, gamma
, xi
, rho
, beta.loop
and
source.first
with meanings as explained under 'Arguments'.
Examples
control <- rpa_control_scenario(alpha = 0.5, beta = 0.5, beta.loop = FALSE)