Learn R Programming

UKFE (version 0.1.1)

AMplot: 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 two columns. The first a date column and the second the annual maximum (AM) sequence. An AM object derived from the GetAM or ImportAM functions can be used.

Value

a histogram of the AMAX sample and a barplot

Details

The barplot is daily so that, although it's an annual maximum (AM) sequence, some bars will be closer together depending on the number of days between them.

Examples

Run this code
# NOT RUN {
#Get an AMAX sample and plot
AMplot(GetAM(58002))
# }

Run the code above in your browser using DataLab