在R

时间:2017-02-15 17:32:59

标签: r plot

有谁知道我的代码中的问题是什么?我试图在Wind中绘制windrose。当我运行此代码时,没有任何反应。有什么想法吗?

# set the workspace first
setwd("c:/openair/documentation/primet")
# importing data to R
read.csv("c:/openair/documentation/primet/mydata2.csv")
# calling package "openair"
#library(openair)

openair:: windRose(mydata = mydata2)

#windRose(airwind,type = "default")
openair::windRose(mydata = mydata2,ws = "ws", wd = "wd", ws.int = 2,   angle =  30,type = "default")
# plot windrose 

plot.function(windRose(mydata = mydata2,ws = "ws", wd = "wd", ws.int =  2, angle = 30, type = "default"))
End

0 个答案:

没有答案