Description Usage Arguments Value Author(s) Examples
analytical solution for the parameter a_1 of the polynomial
1 |
qs |
last disaggregated discharge of the day before |
q1 |
daily mean discharge of the current day |
q2 |
daily mean discharge of the next day |
q3 |
daily mean discharge of the day after the next day |
Q_i(t)
Svenja Fischer
1 2 3 4 5 6 7 8 9 10 11 12 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (t, qs, q1, q2, q3)
{
a1t <- -1/36 * ((72 * t^2 + 144 * t + 42) * qs + 4 * q3 +
t * (-12 * q3 + 96 * q2 - 228 * q1) + t^2 * (-24 * q3 +
84 * q2 - 132 * q1) - 23 * q2 - 23 * q1)
return(a1t)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.