plot_weekly_cycle | R Documentation |
Check if there is a significant weekly cycle in daily precipitation data by means of a binomial test.
plot_weekly_cycle(dailypcp, outpath, p = 0.95)
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. |
p |
Probability threshold for the binomial test (default is 0.95). |
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').
Stefan Hunziker, Yuri Brugnara
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.
plot_weekly_cycle(list(Rosario = Rosario$rr), outpath = tempdir())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.