I can't use windRose (or even pollutionRose) in R (Rstudio) because of the Error: index out of bounds
error even when applying on the included dataset (mydata) with the package. I reinstalled and loaded dplyr
, lazyeval
, maps
packages just in case they were outdated.
The exact code I used was
library(openair)
data(mydata)
windRose(mydata)
I tried on Windows 7 version of Rstudio and it worked.
Thanks for the help!