isNodeDownstream {airGRiwrm} | R Documentation |
Check if a node is downstream or upstream another one
Description
Check if a node is downstream or upstream another one
Usage
isNodeDownstream(x, current_node, candidate_node)
## S3 method for class 'GRiwrmInputsModel'
isNodeDownstream(x, current_node, candidate_node)
## S3 method for class 'GRiwrm'
isNodeDownstream(x, current_node, candidate_node)
isNodeUpstream(x, current_node, candidate_node)
## S3 method for class 'GRiwrm'
isNodeUpstream(x, current_node, candidate_node)
## S3 method for class 'GRiwrmInputsModel'
isNodeUpstream(x, current_node, candidate_node)
Arguments
x |
[ |
current_node |
character with the id of the current node |
candidate_node |
character with the id of the node for which we want
to know if it is downstream or upstream |
Value
logical TRUE
if the node with the id down_candidate
is downstream
or upstream the node with the id current_node
[Package airGRiwrm version 0.7.0 Index]