标签: r openair
在openair包裹中,windRose功能将PM10浓度之间的风向联系起来。例如:
openair
windRose
windRose(mydata, type = "pm10", layout = c(4, 1))
答案 0 :(得分:1)
使用cut功能创建一个新列,您将用于绘制:
cut
mydata$pm10_breaks <- cut(mydata$pm10, c(1, 40, 75, 100, 801)) windRose(mydata, type = "pm10_breaks", layout = c(4, 1))