View source: R/rvn_annual_quantiles.R
rvn_annual_quantiles | R Documentation |
Calculate the quantiles for each day of the year based on the supplied time series.
rvn_annual_quantiles(
hgdata,
prd = NULL,
Qlower = 0.1,
Qupper = 0.9,
water_year = TRUE,
mm = 9
)
hgdata |
Time series object of observed or simulated flows |
prd |
time period for subset in character format "YYYY-MM-DD/YYYY-MM-DD" |
Qlower |
Decimal percentage of lower quantile value (default 0.1) |
Qupper |
Decimal percentage of upper quantile value (default 0.9) |
water_year |
boolean on whether to sort quantiles by water year start date (default |
mm |
month of water year ending (default 9) |
qdat |
Time series object of monthly median and quantile values |
Leland Scantlebury, leland@scantle.com
system.file("extdata","run1_Hydrographs.csv", package="RavenR") %>%
rvn_hyd_read(.) %>%
rvn_hyd_extract(subs="Sub36",.) ->
hyd_data
# Calculate quantiles for the simulated hydrograph
qdat <- rvn_annual_quantiles(hyd_data$sim)
head(qdat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.