delete_steps.tempflow: Is a function that takes a 'tempflow'-object and two vectors...

Description Usage Arguments Value

View source: R/tempflow-basics.R

Description

Is a function that takes a 'tempflow'-object and two vectors of point-names (or point-ids) and removes the steps from the 'tempflow'-object. The steps are characterised by the points in the "srcPointList"-vector and the corresponding points in the "dstPointList"-vector,

Usage

1
2
3
## S3 method for class 'tempflow'
delete_steps(tempFlow, srcPointList, dstPointList,
  safe = TRUE)

Arguments

tempFlow

A 'tempflow'-object.

srcPointList

A vector containing the point-names (or point-ids) of the start-points of the edges that ought to be removed.

dstPointList

A vector containing the point-names (or point-ids) of the end-points of the edges that ought to be removed.

safe

If TRUE, it will be ensured that the specified point-names (or point-ids) are present in the given 'tempflow'-object; that the specified steps exist; the "srcPointList"-vector, the "dstPointList"-vector are of the same length. Additionally, the usual tempflow condition are checked (e.g. duplicate names, cycles, ... ).

Value

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


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