Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在openair封装中,windRose函数将 PM10 浓度之间的风向联系起来。例如:
openair
windRose
windRose(mydata, type = "pm10", layout = c(4, 1))
四种不同的 PM10 浓度水平的风上升。这些水平被定义为 PM10 浓度的四个分位数,并且范围显示在每个绘图标签上。 有谁知道如何控制这四个数字中的PM10浓度?例如,我想绘制显示“1 到 40”、“40 到 75”、“75 到 100”和“100 到 801”的 PM10 浓度的图
Use cut function and create a new column, you will use to plot:
cut
mydata$pm10_breaks <- cut(mydata$pm10, c(1, 40, 75, 100, 801)) windRose(mydata, type = "pm10_breaks", layout = c(4, 1))