Description Usage Arguments Value Author(s) Examples
analytical solution for the parameter a_0 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 13 | ##---- 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)
{
a0t <- 1/72 * ((48 * t^3 + 144 * t^2 + 84 * t - 12) * qs +
t * (8 * q3 - 46 * q2 - 46 * q1) + q3 + t^2 * (-12 *
q3 + 96 * q2 - 228 * q1) + t^3 * (-16 * q3 + 56 * q2 -
88 * q1) - 8 * q2 + 91 * q1)
return(a0t)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.