Description Usage Arguments Details Value Author(s) Examples
Given a relationship between two variables (e.g. level and volume), this function interpolates the corresponding second variable (e.g. volume) for a known value of the first variable (e.g. level). This function is suitable to represented e.g. the dynamics of water storage in a combined sewer overflow chamber.
1 | Level2Volume(lev, lev2vol)
|
lev |
A |
lev2vol |
A |
The function uses the approx
function from the stats
package with
"yleft" argument equal to the minimum value of the second variable and "yright"
argument equal to the maximum value of the second variable.
A numeric
object with one element representing the interpolated value
of the second variable (e.g. volume).
J.A. Torres-Matallana; K. Klepiszewski; G. Schutz.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.