SeasonPlot: Seasonality plot

Description Usage Arguments Examples

View source: R/SeasonPlot.R

Description

Create a canvas to represent the timing and the regularity of seasonal measures in a polar coordinate system.

Usage

1
SeasonPlot(..., xlab = "Timing", ylab = "Regularity")

Arguments

...

Other parameters passed to ggplot.

xlab, ylab

Axis labels.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
library(CSHShydRology)
library(ggplot2)

## Basic plot

SeasonPlot()

## Plot with points

xd <- DemoData('region')
stat.season <- as.data.frame(SeasonStat(date~site, xd))

SeasonPlot() +
  geom_point(data = stat.season, aes(x = angle, y = radius),
             colour = 'blue') +
  theme_bw()

floodnetProject16/floodnetRfa documentation built on Oct. 24, 2020, 9:19 a.m.