On 05/27/2013 10:28 AM, Neotropical bat risk assessments wrote:
Hi all are there any R packages that include "circular" stats similar to
Oriana (http://www.kovcomp.co.uk/oriana/newver4.html)?

I am interested in looking at annual patterns of bat activity where data
will have date/times and relative abundance values for each Date.

I would like to have a circular plot with the "circumference" axis the
12 months of the year and then a value of relative abundance and likely
with ggplot2 this can be set to color= species.

Tnx

Bruce

Hi Bruce,
Here is a possibility:

library(plotrix)
batact<-matrix(c(sin(seq(0,1.833*pi,length=12))+2+rnorm(36)/4),
 nrow=3,byrow=TRUE)
batpos<-seq(0,1.833*pi,length=12)
radial.plot(batact,batpos,rp.type="ps",main="Bat activity by month",
 line.col=2:4,radial.lim=0:4,label.pos=batpos,labels=month.abb,
 point.symbols=16:18,point.col=2:4,label.prop=1.1,start=pi/2,
 clockwise=TRUE)
legend(-3.5,0.5,paste("Species",1:3),pch=16:18,col=2:4)

Jim

______________________________________________
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.

Reply via email to