Learn R Programming

⚠️There's a newer version (0.9.12) of this package.Take me there.

lfstat

The "Manual on Low-flow Estimation and Prediction", published by the World Meteorological Organisation (WMO), gives a comprehensive summary on how to analyse stream flow data focusing on low-flows. This packages provides functions to compute the described statistics and produces plots similar to the ones in the manual.

Installation

Get the released version from CRAN:

install.packages("lfstat")

Related packages

There is also an R-Commander Plugin "RcmdrPlugin.lfstat" which provides a graphical user interface for a subset of the functionality provided by lfstat.

install.packages("RcmdrPlugin.lfstat")

Copy Link

Version

Install

install.packages('lfstat')

Monthly Downloads

758

Version

0.9.4

License

GPL (>= 2)

Maintainer

Tobias Gauster

Last Published

August 24th, 2016

Functions in lfstat (0.9.4)

as.lfobj

Coerce to class lfobj
apply.seasonal

Apply an aggregation function seasonally.
bfplot

Base Flow Plot
BFI

Base Flow Index
as.xts.lfobj

Convert Object To Class xts
baseflow

Calculate the baseflow of a river
check_distribution

Checks if a Distribution is suited
dmcurve

Double Mass Curve
createlfobj

Create an lfobj for further Low Flow Analysis
reversing

Reversed functions for several Extreme Value Distributions
hydrograph

Hydrograph
hyear_start

Extract or guess the Start of a Hydrological Year
fill_na

Interpolation NA values in a vector
flowunit

Set and retrieve unit of the discharge
gringorten

Gringorten Plotting Positions
fdc

Flow Duration Curve
evquantile

Estimating populations quantiles of extreme values
find_droughts

Identifying Low Flow Periods
evfit

Fit an extreme value distribution to observations
ev_return_period

Estimate the return period for given quantiles
MAM

Mean Annual Minimum
meanflow

Mean flow
lfnainterpolate

Interpolate missing values
lfnacheck

Low flow object check for missing values.
ma

Simple Moving Average
Qxx

Qxx, Q95, Q90, Q70
lfstat-package

Calculates Low Flow Statistics for daily stream flow data
recessionplot

Recession diagnostic plot
rfaplot

Regional Frequency Analysis
rfa

Regional Frequency Analysis
multistationsreport

Report for several stations
ngaruroro

Daily stream flow data used for low flow analysis
seasratio

Seasonality Ratio
seasindex

Seasonality Index
summary.deficit

Object Summaries
trace_value

Draw Paths to Points perpendicular to Coordinate Axis
readlfdata

Reads data sheets
plot.deficit

Plot time series of deficits
recession

Recession Constant
pooling

Pooling Procedures of Low Flow Events
streamdef

Streamflow Deficit
streamdefplot

Streamflow Deficit Plot
tyears

Calculate Low-Flow Quantiles for given Return Periods
tyearsS

Calculate Low-Flow Quantiles for given Return Periods
seglenplot

Barchart of recession length
sbplot

Seasonal Barchart
rpline

Highlight quantiles/return periods
setlfunit

Define the unit to use in lf-plots
water_year

Compute the water year
vary_threshold

Create varying thresholds