AMplot: Plot of the annual maximum sample

View source: R/All.R

AMplotR Documentation

Plot of the annual maximum sample

Description

Provides two plots. First, a histogram of the sample, second, a barplot

Usage

AMplot(x)

Arguments

x

a data.frame with at least two columns. The first a date column and the second the annual maximum (AM) sequence. A third column with the station id is necessary for inclusion of the id in the plot title. An AM object derived from the GetAM or ImportAM functions.

Details

When used with a GetAM object or any data.frame with dates in the first column, the barplot is daily. Therefore, although it's an annual maximum (AM) sequence, some bars will be closer together depending on the number of days between them.

Value

a histogram of the AMAX sample and a barplot

Author(s)

Anthony Hammond

Examples

#Get an AMAX sample and plot
AMplot(GetAM(58002))

UKFE documentation built on Nov. 6, 2023, 1:07 a.m.

Related to AMplot in UKFE...