createJunctioninstantiates an object from class of createJunction
# S3 method for default
createJunction(name = "Unttitled", downstream=NA,
inflow = NA, delayInflow = 1)(optional) a string: the name of junction to be instantiated
(optional) an object from either of classes: createDiversion, createReservoir, createSubbasin, createJunction, createReach.
(optional): a vector of direct inflow rather than flows comming from upstream (cms)
(optional): an integer presenting the time steps to delay direct inflow time series
a list: an object from class of createJunction