Description Usage Arguments Value
View source: R/tempflow-basics.R
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,
1 2 3 | ## S3 method for class 'tempflow'
delete_steps(tempFlow, srcPointList, dstPointList,
safe = TRUE)
|
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, ... ). |
A new 'tempflow'-object, constructed by removing the specified edges from the given 'tempflow'-object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.