plot_daily | R Documentation |
Plot daily data points for custom intervals.
plot_daily(
dailydata,
len = 1,
outfile,
startyear = NA,
endyear = NA,
miss = TRUE,
units = NA,
...
)
dailydata |
A character string giving the path of the input file, or a 5-column matrix with following columns: variable code, year, month, day, and the daily value. |
len |
Integer indicating the number of years shown in each panel. |
outfile |
Character string giving the path of the output pdf file. |
startyear |
First year to plot. If not indicated, all available years
until |
endyear |
Last year to plot. If not indicated, all available years
since |
miss |
If TRUE (the default), missing data are plotted as red crosses at the bottom of the plot. |
units |
Character string giving the units (will be printed in the y-axis). If
|
... |
Graphical parameters passed to the function |
The input file must follow the C3S Station Exchange Format (SEF).
Missing data are shown as red dots at the bottom of the plot.
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_daily(Rosario$Tx, len = 2, outfile = paste0(tempdir(),"/test.pdf"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.