Learn R Programming

RHMS (version 1.6)

createJunction.default: default function for class of createJunction

Description

instantiates an object from class of createJunction

Usage

# S3 method for default
createJunction(name = "Unttitled", downstream=NA, 
                                 inflow = NA, delayInflow = 1)

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