set_tempFlow.tempnetwork: This function replaces the existing 'tempflow'-object in the...

Description Usage Arguments Value

View source: R/tempnetwork-setter.R

Description

This function replaces the existing 'tempflow'-object in the field "tempFlow" of the given 'tempnetwork'-object by the given 'tempflow'-object.

Usage

1
2
## S3 method for class 'tempnetwork'
set_tempFlow(tempNetwork, tempFlow, safe = TRUE)

Arguments

tempNetwork

A 'tempnetwork'-object.

tempFlow

A 'tempflow'-object.

safe

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

Value

The given 'tempnetwork'-object where the existing 'tempflow'-object in the field "tempFlow" of the given 'tempnetwork'-object is replaced by the given 'tempflow'-object. If the parameter "tempFlow" 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.