delete_steps_from_id.tempnetwork: Given a 'tempnetwork'-object and a vector containing the...

Description Usage Arguments Value

View source: R/tempnetwork-tempflow-basics.R

Description

Given a 'tempnetwork'-object and a vector containing the current step-ids, this function removes the specified steps from the 'tempflow'-object of the given 'tempnetwork'-object.

Usage

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

Arguments

tempNetwork

A 'tempnetwork'-object.

stepIDList

A vector containing the step-ids of the steps which ought to be removed.

safe

If TRUE, it will be ensured that the specified step-ids exists. Additionally, the usual tempflow and tempnetwork condition are checked.

Value

A new 'tempnetwork'-object, containing a new 'tempflow'-object constructed by removing the specified edges from the 'tempflow'-object of the given 'tempnetwork'-object.


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