In conducting studies of animal orientation and displacement, I need to produce circular histograms of angles (bearings in radians 0-2pi) where the centre of the circle indicates very few observations for a given bin of angles and outwardly concentric circles indicate greater frequencies of observations for a given bin of angles. I'd like not to have to write the function myself but I haven't found exactly what I am looking for yet.... Tyler -- View this message in context: http://n4.nabble.com/plot-circular-histogram-tp1562283p1562283.html Sent from the R help mailing list archive at Nabble.com.
You can probably adapt stars() to give something similar to what you want. Otherwise, you need to give us examples of what you've tried and how it diverges from what you need. Sarah On Fri, Feb 19, 2010 at 4:34 PM, T.D. Rudolph <tylerdeanrudolph at gmail.com> wrote:> > In conducting studies of animal orientation and displacement, I need to > produce circular histograms of angles (bearings in radians 0-2pi) where the > centre of the circle indicates very few observations for a given bin of > angles and outwardly concentric circles indicate greater frequencies of > observations for a given bin of angles. ?I'd like not to have to write the > function myself but I haven't found exactly what I am looking for yet.... > > Tyler > ---- Sarah Goslee http://www.functionaldiversity.org
Look at the circular and CircStats packages. Look at the kernel density plots. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of T.D. Rudolph > Sent: Friday, February 19, 2010 2:34 PM > To: r-help at r-project.org > Subject: [R] plot circular histogram > > > In conducting studies of animal orientation and displacement, I need to > produce circular histograms of angles (bearings in radians 0-2pi) where > the > centre of the circle indicates very few observations for a given bin of > angles and outwardly concentric circles indicate greater frequencies of > observations for a given bin of angles. I'd like not to have to write > the > function myself but I haven't found exactly what I am looking for > yet.... > > Tyler > -- > View this message in context: http://n4.nabble.com/plot-circular- > histogram-tp1562283p1562283.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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.
This might give you some ideas: http://addictedtor.free.fr/graphiques/thumbs.php Some examples that jumped out at me for your application: *Circular density estimate *http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=121 *Wind rose diagram *http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=123 *radial.plot *http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=75 *stars network *http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=153 On Fri, Feb 19, 2010 at 3:34 PM, T.D. Rudolph <tylerdeanrudolph@gmail.com>wrote:> > In conducting studies of animal orientation and displacement, I need to > produce circular histograms of angles (bearings in radians 0-2pi) where the > centre of the circle indicates very few observations for a given bin of > angles and outwardly concentric circles indicate greater frequencies of > observations for a given bin of angles. I'd like not to have to write the > function myself but I haven't found exactly what I am looking for yet.... > > Tyler > -- > View this message in context: > http://n4.nabble.com/plot-circular-histogram-tp1562283p1562283.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@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. >[[alternative HTML version deleted]]