convert_nets {EDISON} | R Documentation |

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

```
convert_nets(Ball, Eall)
```

`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. |

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. |

Frank Dondelinger

[Package *EDISON* version 1.1.1 Index]