ch_polar_plot: Polar plot of daily streamflows

View source: R/ch_polar_plot.R

ch_polar_plotR Documentation

Polar plot of daily streamflows

Description

Produces a polar plot similar to that used in Whitfield and Cannon, 2000. It uses output from the function ch_binned_MannWhitney or a data structure created using the function ch_polar_plot_prep.

Usage

ch_polar_plot(
  bmw,
  lcol1 = c("black", "gray50"),
  lcol2 = c("black", "gray50"),
  lfill = c("yellow", "green"),
  lsig = c("red", "blue")
)

Arguments

bmw

output from ch_binned_MannWhitney

lcol1

line colour, default is c("black","gray50")

lcol2

point colour, default is c("black","gray50")

lfill

fill colour, default is c("yellow","green")

lsig

significance symbol colour, default is c("red","blue")

Value

No value is returned; a standard R graphic is created.

Author(s)

Paul Whitfield

References

Whitfield, P.H. and A.J. Cannon. 2000. Polar plotting of seasonal hydrologic and climatic data. Northwest Science 74: 76-80.

Whitfield, P.H., Cannon, A.J., 2000. Recent variations in climate and hydrology in Canada. Canadian Water Resources Journal 25: 19-65.

See Also

ch_binned_MannWhitney ch_polar_plot_prep

Examples

range1 <- c(1970,1979)
range2 <- c(1990,1999)
b_MW <- ch_binned_MannWhitney(CAN05AA008, step = 5, range1, range2, 
ptest <- 0.05)
ch_polar_plot(b_MW)

CSHS-hydRology/CSHShydRology documentation built on Aug. 18, 2022, 4:44 p.m.