Description Usage Arguments Value
View source: R/tempnetwork-setter.R
This function replaces the existing equivalence-relation in the field "equivRel" of the given 'tempnetwork'-object by the given equivalence-relation.
1 2 3 | ## S3 method for class 'tempnetwork'
set_equivRelation(tempNetwork, equivRel,
safe = TRUE)
|
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. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.