Learn R Programming

UKFE (version 0.3.4)

GetAM: Get an annual maximum sample from the National River Flow Archive sites suitable for pooling

Description

Extracts the annual maximum peak flow sample and associated dates for the site of interest.

Usage

GetAM(ref)

Value

A data.frame with columns; Date, Flow, and id

Arguments

ref

the site reference of interest (numeric)

Author

Anthony Hammond

Examples

Run this code
#Get an AMAX sample and display it in the console
GetAM(203018)
#Save an AMAX sample as an object
AM.203018 <- GetAM(203018)

Run the code above in your browser using DataLab