Learn R Programming

RHMS (version 1.6)

createJunction.base: base function for class of createJunction

Description

instantiates an object from class of createJunction

Usage

# S3 method for base
createJunction(name , downstream, 
                              inflow , delayInflow )

Arguments

name

(optional) a string: the name of junction to be instantiated

downstream

(optional) an object from either of classes: createDiversion, createReservoir, createSubbasin, createJunction, createReach.

inflow

(optional): a vector of direct inflow rather than flows comming from upstream (cms)

delayInflow

(optional): an integer presenting the time steps to delay direct inflow time series

Value

a list: an object from class of createJunction

See Also

addObjectToBasin