Learn R Programming

UKFE (version 2.0.0)

AMImport: Import an annual maximum (AMAX) sample from NRFA peak flow .am files

Description

Imports the peak flows and dates from from NRFA peak flow .am files, excluding the rejected years

Usage

AMImport(x)

Value

A data.frame with columns; Date and Flow

Arguments

x

the file path for the .AM file

Author

Anthony Hammond

Examples

Run this code
# Import an AMAX sample and display the first six rows in the console
if (FALSE) {
am_4003 <- AMImport(r"{C:\Data\NRFAPeakFlow_v11\Suitable for QMED\4003.AM}")
}
if (FALSE) {
head(am_4003)
}

Run the code above in your browser using DataLab