ConvertDischarge | R Documentation |
ConvertDischarge
converts volumetric discharge to specific discharge (unit area discharge) and vice versa.
ConvertDischarge(q, area, from = "m3s", to = "mmd")
q |
An object of type |
area |
An object of type |
from |
Character string keyword, giving the current unit of
or a volumetric discharge, one of:
|
to |
Character string keyword, see |
ConvertDischarge
is a simple conversion function, most likely to be used in combination with apply
or related functions.
ConvertDischarge
returns a numeric object of the same type as provided in argument q
.
ConvertDischarge(6, 400000000)
ConvertDischarge(c(1.1, 1.2, 1.9, 2.8, 2, 1.5, 1.3, 1.2, 1.15, 1.1),
from = "mmd", to = "ls", area = 1.2e6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.