Description Usage Arguments Value
View source: R/tempflow-basics.R
This function takes a 'tempflow'-object and a point-name (or point-id), which will be removed from said flow. If the point has only a successor or only a predecessor, then only the incident edges will be removed. Otherwise, all successors and all predecessors will be connected in a manner such that distances, i.e. weights are preserved.
1 2 | ## S3 method for class 'tempflow'
remove_point(tempFlow, removePoint, safe = TRUE)
|
tempFlow |
A 'tempflow'-object. |
removePoint |
A point-name (or point-id) representing the point in time to be removed. |
safe |
If TRUE, it will be ensured, that the given point is present in the specified 'tempflow'-object. Additionally, the usual tempflow condition are checked (e.g. duplicate names, cycles, ... ). |
A new 'tempflow'-object, by removing the specified point and (if necessary) reconnecting the given 'tempflow'-object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.