Learn R Programming

WRSS (version 3.1)

createJunction: Constructor for class of createJunction

Description

this function constructs an object from class of createDiversion, acting as a junction in the basin which is able to aggregate outflow water from upper tributaries and/or objects in the upstream.

Usage

createJunction(name, downstream)

Arguments

name

(optional) A string: the name of the junction

downstream

(optional) An object from either of classes of createAquifer , createRiver, createReservoir, createJunction, createDiversion, or createDemandSite; which outflow volume pours to it.

Value

An object from class of createJunction

See Also

addObjectToArea