annualfreqplot: Plots the frequency curve and calculates the return periods

Description Usage Arguments Value Examples

Description

Plots the frequency curve and calculates the return periods

Usage

1
2
annualfreqplot(pathmain = NULL, qtT, Nsim, durt, qobs, Qsim, Pint, nsy,
  incond, plotpos = "Gringorten", writeResults = TRUE, PDFplots = TRUE)

Arguments

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

Value

csv file with return periods

Examples

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)

valeriyafilipova/StochasticPQRUT documentation built on May 26, 2019, 5:34 a.m.