convert_nets: Convert internal representation of networks.

Description Usage Arguments Value Author(s)

View source: R/convert_nets.R

Description

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

Usage

1
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


EDISON documentation built on May 2, 2019, 2:39 a.m.