hello, i am new to R and want to use it for a small project to draw a wind data from a microclimate datasource, can someone give me an example of how i can represent this in a neat way? for example, i have: speed, direction 0.3,NNE 0.45,NNE 0.32,NE 0.28,N 0.30,NE how do i put this data to get a windrose graph? many thanks norman -- %>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] )
There are several windrose functions in various packages. Try this RSiteSearch("winrose") -- David On Nov 4, 2011, at 6:06 PM, Norman Khine <norman at khine.net> wrote:> hello, > i am new to R and want to use it for a small project to draw a wind > data from a microclimate datasource, can someone give me an example of > how i can represent this in a neat way? > > for example, i have: > speed, direction > 0.3,NNE > 0.45,NNE > 0.32,NE > 0.28,N > 0.30,NE > > how do i put this data to get a windrose graph? > > many thanks > > norman > > -- > > %>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or > chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] ) > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Try this: http://rss.acs.unt.edu/Rdoc/library/climatol/html/rosavent.html Michael On Fri, Nov 4, 2011 at 6:06 PM, Norman Khine <norman at khine.net> wrote:> hello, > i am new to R and want to use it for a small project to draw a wind > data from a microclimate datasource, can someone give me an example of > how i can represent this in a neat way? > > for example, i have: > speed, direction > 0.3,NNE > 0.45,NNE > 0.32,NE > 0.28,N > 0.30,NE > > how do i put this data to get a windrose graph? > > many thanks > > norman > > -- > > %>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or > chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] ) > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >