Displaying 1 result from an estimated 1 matches for "wmag".
Did you mean:
wma
2009 Jul 03
0
windrose (circular package) odd table and windrose plot
...indrose I have odd (to me) results:
in the table data referred to some wind direction are missing
the frequency plotted in the windrose are different from those indicated in the table
some wind magnitudes are missing in the table
wdir <- rep(seq(0,135,45),10) # 4 directions 0,45,90,135 degrees
wmag <- rep(c(10,5,2,1),10) # constant mag for each direction: 10,5,2,1
t <- windrose(circular(wdir,units='degrees',template='geographics'),wmag,increment=1)
> t$table
[0, 30) [30, 60) [60, 90) [90, 120) [120, 150) [150, 180) [180, 210)
(0,1] 0.000 0.000 0...