qdoyCompute: Quantile estimation per DOY

Description Usage Arguments Value Author(s) See Also Examples

View source: R/qdoyCompute.R

Description

Quantiles per Day of Year (doy), basically forked from https://github.com/brry/berryFunctions/blob/master/R/seasonality.R

Usage

1
2
qdoyCompute(dates, values, data, shift = 0, RPs = RPvals, progbar = TRUE,
  negative2NA = FALSE)

Arguments

dates

Dates in ascending order. Can be charater strings or strptime results, as accepted (and coerced) by as.Date

values

Values to be analyzed

data

Optional: data.frame with the column names as given by dates and values

shift

Number of days prior to Jan 1 to move the year-break to. E.g. shift=61 for German hydrological year (Nov to Oct). DEFAULT: 0

RPs

Return periods for extremeStat::distLextreme DEFAULT: RPvals

progbar

Logical: show progress bar? DEFAULT: TRUE

negative2NA

Logical: change negative values for RP1 for GEV to NA? This can be useful if values must be strictly positive. DEFAULT: FALSE

Value

Matrix for each DOY and quantile

Author(s)

Berry Boessenkool, berry-b@gmx.de, Jun 2017

See Also

qdoyVis, qdoyPeriods, rfs-package

Examples

1
# see   ?rfs-package

brry/rfs documentation built on May 24, 2019, 3:05 a.m.