| plot_hour {AeRobiology} | R Documentation | 
Plotting hourly patterns
Description
Function to plot pollen data expressed in concentrations with time resolution higher than 1 day (e.g. hourly, bi-hourly concentrations).
Usage
plot_hour(data, result = "plot", locations = FALSE)
Arguments
| data | A data.frameobject with the structurelong. Where the first two columns arefactorsindicating thepollenand thelocation. The 3 and 4 columns arePOSIXct, showing the hour. Where the third column is the beguinning of the concentrationfromand the fourth column is the end time of the concentrtion datato. The fifth column shows the concentrations of the different pollen types asnumeric. Please see the example 3-hourly data from the automatic pollen monitor BAA500 from Munich and Viechtach in Bavaria (Germany)data("POMO_pollen"), supplied by ePIN Network supported by the Bavarian Government. | 
| result | A characterobject with the definition of the object to be produced by the function. Ifresult == "plot", the function returns a list of objects of class ggplot2; ifresult == "table", the function returns a data.frame with the hourly patterns. By default,result = "plot". | 
| locations | A logicalobject with the specification if the different locations will be displayed in the plot. Argument only used whenresult == "plot". By default,locations = FALSE. | 
Value
If result == "plot", the function returns a list of objects of class ggplot2; if result == "table", the function returns a data.frame with the hourly patterns.
References
Oteros, J., Pusch, G., Weichenmeier, I., Heimann, U., Mueller, R., Roeseler, S., ... & Buters, J. T. (2015). Automatic and online pollen monitoring. International archives of allergy and immunology, 167(3), 158-166.
Examples
data("POMO_pollen")
plot_hour(POMO_pollen, result="plot", locations = FALSE)
plot_hour(POMO_pollen, result="plot", locations = TRUE)
[Package 
AeRobiology version 2.0.1 
Index]