Description Usage Arguments Value
View source: R/tempflow-basics.R
Is a function that takes a 'tempflow'-object and a vector of start-points in time and a vector of end-points in time. Given those, the cross-product of "startPointList" and "endPointList" will be computed, from there any point that lies between the points of any tuple will be included in the new 'tempflow'-object. Given those, a new flow will be returned that contains all points (including start point and end point).
1 2 3 | ## S3 method for class 'tempflow'
slice_flow(tempFlow, startPointList, endPointList,
safe = TRUE)
|
tempFlow |
A 'tempflow'-object. |
startPointList |
A vector containing point-names (or point-ids) representing the names of the start-points of the new 'tempflow'-object. |
endPointList |
A vector containing point-names (or point-ids) representing the names of the end-points of the new 'tempflow'-object. |
safe |
If TRUE, it will be ensured that all the specified points exist in the 'tempflow'-object and that all relevant 'tempflow'-conditions are uphold. |
A new 'tempflow'-object, reduced to the points in time between the "startPoint" and the "endPoint".
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.