Description Usage Arguments Value
View source: R/tempflow-basics.R
Is a function that takes a 'tempflow'-object and a vector of point-names (or point-ids) and restricts the given flow to the sub-flow induced by the vector of points. That is, the underlying 'igraph'-object will be restricted to a graph containing only the vertices corresponding to the specified points.
1 2 | ## S3 method for class 'tempflow'
induce_flow(tempFlow, inpPointList, safe = TRUE)
|
tempFlow |
A 'tempflow'-object. |
inpPointList |
A vector containing point-names (or point-ids). |
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, obtained by restricting the underlying 'igraph'-object to the vertices corresponding to the points specified in the "inpPointList"-vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.