AMplot | R Documentation |
Provides two plots. First, a histogram of the sample, second, a barplot
AMplot(x)
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. |
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.
a histogram of the AMAX sample and a barplot
Anthony Hammond
#Get an AMAX sample and plot
AMplot(GetAM(58002))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.