davidcarslaw / openair

Tools for air quality data analysis
https://davidcarslaw.github.io/openair/
GNU General Public License v2.0
307 stars 113 forks source link

fix (R/polarDiff.R): return plot #322

Closed jack-davison closed 1 year ago

jack-davison commented 1 year ago

Fix an issue with polarDiff wherein the resulting plot was not returned with the openair object.

Previously one couldn't do the below code, because diffobj didn't contain plot.

diffobj <- openair::polarDiff(before, after)
diffobj$plot