flowExceedance: flowExceedance

Description Usage Arguments Examples

Description

returns a dataframe with flows at specified flow exceedance probabilities

Usage

1

Arguments

data

dataframe, assumed to be the output from fdc().

probs

value or vector of probabilities that flow should be computed.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: #generate sample data
library(tidyr)
library(dplyr)

df <- data.frame(
  date = seq(as.Date("2016-01-01"), as.Date("2016-12-31"), by = "day"),
  flow = rlnorm(366, 500, 75))

dff <- fdc(df, filter = FALSE)
flowExceedance(dff, c(0.05,0.25,0.50,0.75,0.95))
## End(Not run)

mps9506/watertools documentation built on May 20, 2019, 3:32 p.m.