Closed Saolaina closed 1 year ago
Is it possible that the mean in the plot is based on concentrations with meteorological data only? In other words, samples without meteorological data might be omitted.
@schonhose is spot on; pollutionRose()
drops missing met data first, as that is the data visualised in the rose itself.
mean(openair::mydata$nox, na.rm = TRUE)
#> [1] 178.7986
mean(openair::mydata$nox[!is.na(openair::mydata$ws)], na.rm = TRUE)
#> [1] 178.6236
openair::pollutionRose(openair::mydata)
Created on 2023-02-07 with reprex v2.0.2
Hi, I need to know how the average for the pollution rose is calculated, as when I calculate the average of the pollutant I get a different result than with the package.
Cheers, Saolaina
e.g.