Learn R Programming

UKFE (version 0.1.1)

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)

Arguments

ref

the site reference of interest (numeric)

Value

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

Examples

Run this code
# NOT RUN {
#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