Learn R Programming

RHMS (version 1.7)

abstraction.default: default function for class of abstraction

Description

instantiates an object from class of abstraction

Usage

# S3 method for default
abstraction(rainfall,
        abstractionParams=list(canopyAbstraction=NULL,
                               surfaceAbstraction=NULL))

Arguments

rainfall

a vector : a time series of precipitation hyetograph (mm)

abstractionParams

a list: including parameters of simple surface and simple canopy methods.

  • canopyAbstraction depth of canopy abstraction in (mm). default to zero

  • surfaceAbstraction depth of surface abstraction in (mm). default to zero

Value

a list: an object from class of abstraction

See Also

createSubbasin