Description Usage Arguments Value
View source: R/tempnetwork-tempflow-getter.R
This function returns the edge-weights, as currently defined in (the 'igraph'-object underlying) the given 'tempflow'-object of the given 'tempnetwork'-object, of the edges which are characterised by their start- and end-points that are specified by the input vectors, "srcPointList" and "dstPointList" respectively, both of which are containing point-names (or point-ids).
1 2 3 | ## S3 method for class 'tempnetwork'
get_step_weights(tempNetwork, srcPointList = NULL,
dstPointList = NULL, safe = TRUE)
|
tempNetwork |
A 'tempnetwork'-object. |
srcPointList |
The vector containing the point-names (or point-ids) representing the start-points of the desired edges. |
dstPointList |
The vector containing the point-names (or point-ids) representing the end-points of the desired edges. |
safe |
If TRUE, it will be tested, whether the specified point-names (or point-ids) are present in the 'tempflow'-object of the given 'tempnetwork'-object; whether the vectors have the same length; whether the specified edges are present in the 'tempflow'-object of the given 'tempnetwork'-object. |
A vector containing the step-weights of the specified steps, as defined in (the 'igraph'-object underlying) the 'tempflow'-object of the given 'tempnetwork'-object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.