Learn R Programming

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

622

Version

0.9.12

License

GPL (>= 2)

Maintainer

Tobias Gauster

Last Published

November 8th, 2022

Functions in lfstat (0.9.12)

apply.seasonal

Apply an aggregation function seasonally.
createlfobj

Create an low flow object for further Low Flow Analysis
dmcurve

Double Mass Curve
meanflow

Mean flow
reversing

Reversed functions for several Extreme Value Distributions
multistationsreport

Report for several stations
rpline

Highlight quantiles/return periods
sbplot

Seasonal Bar Chart
seasratio

Seasonality Ratio
seglenplot

Bar chart of recession length
baseflow

Calculate the base flow of a river
check_distribution

Checks if a Distribution is suited
BFI

Base Flow Index
flowunit

Set and retrieve unit of the discharge
gringorten

Gringorten Plotting Positions
MAM

Mean Annual Minimum
fill_na

Interpolation NA values in a vector
lfnacheck

Low flow object check for missing values.
hydrograph

Hydrograph
find_droughts

Identifying Low Flow Periods
hyear_start

Extract or guess the Start of a Hydrological Year
bfplot

Base Flow Plot
ngaruroro

Daily stream flow data used for low flow analysis
plot.deficit

Plot time series of deficits
ev_return_period

Estimate the return period for given quantiles
lfnainterpolate

Interpolate missing values
rfa

Regional Frequency Analysis
rfaplot

Regional Frequency Analysis
evfit

Fit an extreme value distribution to observations
tyearsS

Calculate Low-Flow Quantiles for given Return Periods
vary_threshold

Create varying thresholds
readlfdata

Reads data sheets
recession

Recession Constant
trace_value

Draw Paths to Points perpendicular to Coordinate Axis
as.lfobj

Coerce to class 'lfobj'
seasindex

Seasonality Index
tyears

Calculate Low-Flow Quantiles for given Return Periods
as.xts.lfobj

Convert Object To Class 'xts'
water_year

Compute the water year
season

Attribute dates to seasons
evquantile

Estimating populations quantiles of extreme values
setlfunit

Define the unit to use in low flow plots
streamdef

Streamflow Deficit
fdc

Flow Duration Curve
lfstat-package

tools:::Rd_package_title("lfstat")
ma

Simple Moving Average
pooling

Pooling Procedures of Low Flow Events
recessionplot

Recession diagnostic plot
streamdefplot

Streamflow Deficit Plot
summary.deficit

Object Summaries
Qxx

Qxx, Q95, Q90, Q70