Description Usage Arguments Value
View source: R/tempnetwork-inputchecker.R
If the equivalence-relation of the given 'tempnetwork'-object is NULL, whether the vertex sets of all graphs in the graph-list of the given 'tempnetwork'-object are identical and if "hasTempflowCorrespondence" is FALSE whether the names of the graphs in the graph-list of the given 'tempnetwork'-object are unique. Otherwise, if "hasTempflowCorrespondence" is TRUE it will check if the number of vertices of each graph in the graph-list of the given 'tempnetwork'-object is identical to the number of equivalence-classes in the equivalence-relation of the given 'tempnetwork'-object. Additionally, it will check if for each entry in the equivalence-class of the equivalence-relation of the given 'tempnetwork'-object, there exists a vertex with the same name in the corresponding graph from the graph-list of the given 'tempnetwork'-object. If "hasTempflowCorrespondence" is FALSE, it will be additionally ensured that the names of the graphs in the graph-list of the given 'tempnetwork'-object are unique and that the indices of each equivalence-class from the equivalence-relation of the given 'tempnetwork'-object, are identical to the indices from the graph-list of the given 'tempnetwork'-object.
1 2 3 | ## S3 method for class 'tempnetwork'
check_graphlist_equivrel_correspondence(tempNetwork,
hasTempflowCorrespondence = FALSE, throwError = TRUE)
|
tempNetwork |
A 'tempnetwork'-object. |
hasTempflowCorrespondence |
If TRUE, it will be assumed that the function "check_tempflow_graphlist_equivrel_correspondence" would evaluate to TRUE. |
throwError |
If TRUE the respective errors will be thrown. Otherwise, a truth value will be returned. |
The boolean value TRUE, if the indecies and entries of the equivalence-relation from the given 'tempnetwork'-object, correspond with the indecies and graphs of the graph-list from the given 'tempnetwork'-object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.