[R] Rose diagrams in R?
ben at zoo.ufl.edu
Fri Nov 23 10:47:05 CET 2001
On Thu, 22 Nov 2001, David Finlayson wrote:
> I am looking for a function (or package) to plot histograms of directional
> data such as wind direction. I believe these are called rose diagrams. Is
> there an R script for this?
I don't believe so (help.search() and searching Jonathan Baron's page at
> If not, can it be constructed in a function
> calling primitive graphic calls (lines, circles, boxes or polygons)?
Well, the answer to this is "yes" ...
> The stars function is not quite right.
If you can specify what's wrong with it (i.e., specifications for what a
rose plot should look like, as opposed to what stars() already does) maybe
someone can help you change it. The easiest thing may be to modify the
stars function to do what you want, or figure out how to pre-process your
data (e.g., inserting zero categories) so that stars() does do what you
want. stars() is written in R rather than being a .Internal function,
which simplifies things.
> David Finlayson
> Geomorphogist and GIS Specialist
> NearPRISM - Nearshore Research Group
> University of Washington, Seattle, WA
> (206) 543-7229
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
318 Carr Hall bolker at zoo.ufl.edu
Zoology Department, University of Florida http://www.zoo.ufl.edu/bolker
Box 118525 (ph) 352-392-5697
Gainesville, FL 32611-8525 (fax) 352-392-3704
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help