Hydrologic Indices for Daily Time Series Data

Calculates a suite of hydrologic indices for daily time series data that are widely used in hydrology and stream ecology.


#Hydrostats

hydrostats is a set of tools to compute streamflow indices commonly used in hydrology and ecology such as:

  • basic summary statistics
  • high spells (magnitude, frequency, duration, timing etc.)
  • low spells
  • cease-to-flow spells
  • Colwell's indices
  • partial series
  • baseflow components

Most of the functions can be used with the packages plyr and dplyr to return a dataframe of indices based on an additional grouping variable. This allows the analysis (for example) of data from multiple gauges simultaneously, without the need to write a for loop. While most functions return a single row dataframe, several functions will instead return a dataframe of individual spell characteristics for use in subsequent analysis and plotting.

#Installation To install the latest development version run the following code:

Current version on github and CRAN is 0.2.9.

# install dependencies/suggests:
# devtools required only to install from Github; 
# plyr required for examples
install.packages(c("devtools", "plyr"))

#install pacakge
devtools::install_github("nickbond/hydrostats")

# Remove the package zip after installation
unlink("hydrostats.zip")

#Developer Nick Bond n.bond@latrobe.edu.au

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("hydrostats")

0.2.9 by Nick Bond, 4 years ago


https://github.com/nickbond/hydrostats


Browse source code at https://github.com/cran/hydrostats


Authors: Nick Bond


Documentation:   PDF Manual  


GPL (>= 2) license


Imports stats, utils, graphics

Suggests dplyr, plyr


Imported by rechaRge.


See at CRAN