Description Usage Arguments Value Examples
Plots the frequency curve and calculates the return periods
1 2 | annualfreqplot(pathmain = NULL, qtT, Nsim, durt, qobs, Qsim, Pint, nsy,
incond, plotpos = "Gringorten", writeResults = TRUE, PDFplots = TRUE)
|
pathmain |
path to files, not needed if writeResults=FALSE |
qtT |
threshold quantile for POT (Peak over threshold) events |
Nsim |
number of simulations |
durt |
critical duration |
qobs |
observed streamflow data; dataframe with columns Date ("%Y-%m-%d %H:%M:%S") and Q, if writeResults=TRUE path to csv file with columns date and Q |
Qsim |
dataframe of simulated streamflow and snowmel data (otput from the function hydrolsim) , not needed if writeResults=TRUE |
Pint |
dataframe of simulated precipitation values (daily values) |
nsy |
dataframe of extracted POT rain events for each season |
incond |
dataframe of initial conditions (soil moisture deficit, Qin and SWE) for each season |
plotpos |
te formula which is used for the pplotting positions, possible choices are only Gringorten and Weibull |
csv file with return periods
1 2 3 4 5 | ## Not run:
d1=d[2:5]
m1=annualfreqplot(qtT=0.9,Nsim=1000,durt=24,qobs,Pint=h,incond=gincon,nsy=d1,Qsim=gsim,writeResults=FALSE,PDFplots=FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.