day2IDF | R Documentation |
Calculate approximate intensity-duration-frequency (IDF) curves from daily data through a crude downscaling in timescales. Calculate the residual of a 'ds' object, i.e., the original data minus the fitted values.
day2IDF(
x,
L = c(1, 2, 3, 6, 12, 24),
tau = 10,
zeta = NULL,
n0 = 365.25,
alpha = c(1.256, 0.064),
verbose = FALSE
)
x |
a daily station object for rainfall |
L |
timescale in hours |
tau |
return interval in years |
n0 |
number of observations per year |
alpha |
best fit constant and slope for scaling factor between exponential distribution and empirical distribution taken from https://doi.org/10.1088/1748-9326/ab2bb2 |
verbose |
a boolean; if TRUE print information about progress |
exponent |
for the power-law dependency between return values and timescales |
cols |
provies the colour pallette: default is ' rev(heat.colors)'. |
data(bjornholt)
z <- IDF(bjornholt)
View(z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.