Learn R Programming

UKFE (version 2.0.0)

Seasonality: Seasonality plot

Description

A plot to inspect the seasonality of peak flows

Usage

Seasonality(x, Lines = FALSE)

Value

A seasonality plot

Arguments

x

A dataframe with Date or POSIXct in the first folumn and numeric in the second.

Lines

Logic with a default of FALSE. If TRUE, lines are plotted instead of dots.

Author

Anthony Hammond

Details

The dots (or dark lines if Lines = TRUE) show the season of individual peaks. The red line shows the average seasonality. The longer it is the more clustered in time the peaks are.

Examples

Run this code
# Get an AMAX sample and plot the seasonality
am_27083 <- GetAM(27083)
Seasonality(am_27083)

# Now do the same with lines instead of dots
Seasonality(am_27083, Lines = TRUE)

Run the code above in your browser using DataLab