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 q, where each element is a K_i by q matrix containing the parents for the current node in each of the K_i segments.

Eall

Positions of segment boundaries. A list of length q, where each element is a vector containing the segment boundaries for the current parent node.

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 K where K is the total number of segments over all nodes.

segment

Identical to posPhase.

target.nets

Identical to Sall.

prior.params

Identical to prior.params.

self.loops

Identical to self.loops.

k

Identical to k.

new.nets

Dummy variable for holding the proposed network in a network structure move. Originally identical to variable nets.

Author(s)

Frank Dondelinger


[Package EDISON version 1.1.1 Index]