Learn R Programming

RHMS (version 1.7)

abstraction: computes surface and canopy abstractions

Description

computes surface and canopy abstractions for a given rainfall event.

Usage

abstraction(rainfall,abstractionParams)

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

Examples

Run this code
# NOT RUN {
rainfall<-5*exp(((seq(2.5,7.5,length.out=36))-5)^2/-0.8)
abstractionParams<-list(canopyAbstraction=2,surfaceAbstraction=3.5)
abstraction(rainfall,abstractionParams)
# }

Run the code above in your browser using DataLab