plot_weekly_cycle: Plot weekly cycle

Description Usage Arguments Details Author(s) References Examples

View source: R/decade.R

Description

Check if there is a significant weekly cycle in daily precipitation data by means of a binomial test.

Usage

1
plot_weekly_cycle(dailypcp, outpath = getwd(), p = 0.95)

Arguments

dailypcp

A character vector giving the paths of the input files, or a list of 5-column matrices with following columns: variable code (must be 'rr'), year, month, day, value. The names of the list elements are assumed to be the station IDs.

outpath

Character string giving the path for the output files. By default this is the working directory.

p

Probability threshold for the binomial test (default is 0.95).

Details

The input files must follow the C3S Station Exchange Format (SEF).

Creates one pdf for each station ('weekly.ID.pdf') plus one pdf with an overview of the entire dataset ('weekly.pdf').

Author(s)

Stefan Hunziker, Yuri Brugnara

References

Hunziker et al., 2017: Identifying, attributing, and overcoming common data quality issues of manned station observations. Int. J. Climatol, 37: 4131-4145.

Hunziker et al., 2018: Effects of undetected data quality issues on climatological analyses. Clim. Past, 14: 1-20.

Examples

1

C3S-Data-Rescue-Lot1-WP3/C3S-QC documentation built on Jan. 15, 2020, 10:36 p.m.