check_graphlist_vertex_sets.tempnetwork: If the equivalence-relation of the given 'tempnetwork'-object...

Description Usage Arguments Value

View source: R/tempnetwork-inputchecker.R

Description

If the equivalence-relation of the given 'tempnetwork'-object is NULL, this function checks, if the vertex sets of all graphs in the graph-list of the given 'tempnetwork'-object are identical. Otherwise, it checks if the vertex set of each 'igraph'-object in the graph-list of the given 'tempnetwork'-object has the same length.

Usage

1
2
3
## S3 method for class 'tempnetwork'
check_graphlist_vertex_sets(tempNetwork,
  throwError = TRUE)

Arguments

tempNetwork

A 'tempnetwork'-object.

throwError

If TRUE the respective errors will be thrown. Otherwise, a truth value will be returned.

Value

If the equivalence-relation of the given 'tempnetwork'-object is NULL, this function returns TRUE, if the vertex sets of all graphs in the graph-list of the given 'tempnetwork'-object are identical. Otherwise, it returns TRUE if the vertex set of each 'igraph'-object in the graph-list of the given 'tempnetwork'-object has the same length.


KonstantinRK/tempnetwork documentation built on Dec. 23, 2019, 6:40 p.m.