topo: Return the list of topologies, or a unique topology if all...

View source: R/ui_getters.R

topoR Documentation

Return the list of topologies, or a unique topology if all identical

Description

Return the list of topologies, or a unique topology if all identical

Usage

topo(nm, simplify = TRUE)

Arguments

nm

A networkModel object.

simplify

Boolean, return only a unique topology if all topologies are identical or if there is only one? Default is TRUE.

Value

A list of the networkModel topologies or, if all topologies are identical (or if there is only one) and simplify is TRUE, a single topology (not wrapped into a single-element list).

Examples

aquarium_mod
topo(aquarium_mod)

trini_mod
topo(trini_mod)

isotracer documentation built on Sept. 22, 2023, 1:07 a.m.