Learn R Programming

hydrostats (version 0.2.9)

hydrostats: calculate hydrologic statistics

Description

Calculate a range of hydrologic statistics based on daily time series data and which are widely used in hydrology and ecological applications.

Arguments

Details

Package: hydrostats
Type: Package
Version: 0.2.4
Date: 2015-10-16
License: GPL (>= 2)

Data must be provided as a dataframe in which the date is in POSIXct format. The function ts.format can be used to specify the Date and discharge columns (named Date and Q respectively) in a dataframe, and convert dates to POSIXct format. The date and discharge data must be in columns labelled "Date" and "Q" for the functions to work.

Includes several sample datasets. data(Cooper) - Flow data for Coopers Creek, Australia. Gauge 003101@Currareva data(Acheron) - Flow data for Acheron River, Australia, Gauge 405209@Taggerty

Examples

Run this code
# NOT RUN {
data(Acheron)
Acheron<-ts.format(Acheron)
with(Acheron, plot(Q~Date))

high.spell.lengths(Acheron, threshold=50000)


# }

Run the code above in your browser using DataLab