Description Usage Arguments Value
View source: R/tempnetwork-tempflow-getter.R
Given a vector of point-names (or a vector of point-ids) this function returns a vector containing the corresponding point-ids as defined in (the 'igraph'-object underlying) the 'tempflow'-object provided through the given 'tempnetwork'-object. If one of the given point-names (or point-ids) is not present and if 'safe' has the value TRUE, an error will be thrown.
1 2 3 | ## S3 method for class 'tempnetwork'
get_point_ids(tempNetwork,
inpPointList = tP(tempNetwork), safe = TRUE)
|
tempNetwork |
A 'tempnetwork'-object. |
inpPointList |
Either a vector of strings representing point-names or a vector of integers representing a point-ids. |
safe |
If TRUE, it will be tested, whether the given point-names (or point-ids) are present in the 'tempflow'-object. |
The point-ids of the points specified in "inpPointList", as currently defined in the 'tempflow'-object provided through the given 'tempnetwork'-object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.