check_vertices_exists.tempnetwork: For each corresponding entry of the given vectors...

Description Usage Arguments Value

View source: R/tempnetwork-inputchecker.R

Description

For each corresponding entry of the given vectors "tVertexNameList","pointNameList" and "vertexNameListZ", this function checks if there exists a vertex with the name as specified in "vertexNameList" in the graph with the name specified in "tVertexNameList" (from the graph-list of the given 'tempnetwork'-object). If the equivalence-relation of the given 'tempnetwork'-object is not NULL, it will be ensured that the value specified through "tVertexNameList" and "pointNameList" is equal to the value specified in "vertexNameList".

Usage

1
2
3
## S3 method for class 'tempnetwork'
check_vertices_exists(tempNetwork, tVertexNameList,
  pointNameList, vertexNameList)

Arguments

tempNetwork

A 'tempnetwork'-object.

tVertexNameList

A vector of strings, representing the names of equivalence-classes in the equivalence-relation of the given 'tempnetwork'-object.

pointNameList

A vector of strings, representing the names of graphs in the graph-list of the given 'tempnetwork'-object. It has same length as the vector "tVertexNameList".

vertexNameList

A vector of strings, representing the names of vertices in graphs from the graph-list of the given 'tempnetwork'-object. It has same length as the vector "tVertexNameList".

Value

The boolean value TRUE, if each vertex specifed in "vertexNameList" can be found in the graphs specified through "pointNameList" and if each vertex specifed in "vertexNameList" can be found as an entry at the index determined through "pointNameList" in the equivalence-class specified through "pointNameList".


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