convert_nets {EDISON}R Documentation

Convert internal representation of networks.

Description

Converts from representing the network as a list of target nodes to representing it as a list of segments.

Usage

convert_nets(Ball, Eall)

Arguments

Ball

Input network: List of target nodes, where each element is a NumSegs by NumNodes matrix giving the parents for the target node in each segment.

Eall

Changepoints: List of target nodes, where each element contains a vector of changepoints.

Value

List with elements:

B_nets

List of segments, where each element contains a matrix of size NumNodes by NumNodes, representing the network for that segment.

segs

Vector containing the global segment boundaries.

Author(s)

Frank Dondelinger


[Package EDISON version 1.1.1 Index]