CollectNetworkInfo {EDISON} | R Documentation |
Collects all the network information in one list.
Description
This function collects information about the current network segments and hyperparameters for the information sharing priors.
Usage
CollectNetworkInfo(Sall, Eall, prior.params, posPhase, target, q, self.loops, k)
Arguments
Sall |
Structure of all segments. A list of length |
Eall |
Positions of segment boundaries. A list of length |
prior.params |
The hyperparameters of the information sharing prior (if applicable). |
posPhase |
The segment being changed. |
target |
The target parent node whose edge is being changed. |
q |
The total number of nodes in the network. |
self.loops |
Whether self-loops are allowed in the network. |
k |
The level-2 hyperparameter for the exponential prior. |
Value
The function returns a list with the following elements:
nets |
The structure of all segments, a list of length |
segment |
Identical to
|
target.nets |
Identical to |
prior.params |
Identical to |
self.loops |
Identical to |
k |
Identical to
|
new.nets |
Dummy variable for holding the proposed network
in a network structure move. Originally identical to variable |
Author(s)
Frank Dondelinger