set_equivRelation.tempnetwork: This function replaces the existing equivalence-relation in...

Description Usage Arguments Value

View source: R/tempnetwork-setter.R

Description

This function replaces the existing equivalence-relation in the field "equivRel" of the given 'tempnetwork'-object by the given equivalence-relation.

Usage

1
2
3
## S3 method for class 'tempnetwork'
set_equivRelation(tempNetwork, equivRel,
  safe = TRUE)

Arguments

tempNetwork

A 'tempnetwork'-object.

equivRel

A named list of named lists, where the outer-level list length must be identical to the length of each vertex set in the graph list. where the inner-level names must be identical with the names of the newly added points; where the values must be identical to the vertex-names of the correspondign newly added graph.

safe

If TRUE, the usual 'tempnetwork' conditions will be checked.

Value

The given 'tempnetwork'-object where the existing equivalence-relation in the field "equivRel" of the given 'tempnetwork'-object is replaced by the given equivalence-relation. If the parameter "equivRel" is NULL the given unchanged 'tempnetwork'-object will be returned. Additionally, the "tempGraph"-field will be set to NULL.


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