| isNodeDownstream | R Documentation | 
Check if a node is downstream or upstream another one
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)
| 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  | 
logical TRUE if the node with the id down_candidate is downstream
or upstream the node with the id current_node
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.