Description Usage Arguments Author(s) Examples
This is an internal function used by param() to generate a rainfall timeseries based on input values.
1 2 |
type |
character. Used to define the distribution of rainfall. Options are: (1) Constant (2) triangualar (3) input |
depth |
numeric. Describes the total depth of rainfall in meters |
hours |
numeric. Decribes the total duration of rainfall in hours |
timestep |
numeric. Describes the timestep to generate rainfall measurements in seconds |
path |
character. Describes a path to an input csv or xlsx file if type is 'input' |
Mike Johnson
1 2 3 | constant_ppt = generate_rainfall(type = 'constant', depth = .4, hours = 24, timestep = 1, path = NULL)
triangular_ppt = generate_rainfall(type = 'triangular', depth = .4, hours = 24, timestep = 1, path = NULL)
nrcs_ppt = generate_rainfall(type = 'input', depth = NULL, hours = NULL, timestep = NULL, path = "nrcs_type2_0.40m.xlsx")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.