Re: [R] Problem with circular::plot.circular()

2009-03-29 Thread Duncan Murdoch
On 29/03/2009 9:58 AM, Duncan Murdoch wrote: On 29/03/2009 9:23 AM, Michael Kubovy wrote: Thanks so much. I have another question: why the difference here: require(circular) c1 <- circular(pi/2 + .0, zero = pi/2, rotation = 'clock') c2 <- circular(pi/2 + .1, zero = pi/2, rotation = 'cl

Re: [R] Problem with circular::plot.circular()

2009-03-29 Thread Michael Kubovy
Thanks so much. I have another question: why the difference here: require(circular) c1 <- circular(pi/2 + .0, zero = pi/2, rotation = 'clock') c2 <- circular(pi/2 + .1, zero = pi/2, rotation = 'clock') opar <- par(mfrow = c(1, 2)) plot(c1, stack = TRUE, bins = 1, main = expression(pi

Re: [R] Problem with circular::plot.circular()

2009-03-29 Thread Duncan Murdoch
On 29/03/2009 9:23 AM, Michael Kubovy wrote: Thanks so much. I have another question: why the difference here: require(circular) c1 <- circular(pi/2 + .0, zero = pi/2, rotation = 'clock') c2 <- circular(pi/2 + .1, zero = pi/2, rotation = 'clock') opar <- par(mfrow = c(1, 2)) plot(c1, st

Re: [R] Problem with circular::plot.circular()

2009-03-29 Thread Duncan Murdoch
On 29/03/2009 7:39 AM, Michael Kubovy wrote: require(circular) c <- circular(rep(0, 20), zero = pi/2, rotation = 'clock') plot(c, stack = TRUE, shrink = 1.5) Can anyone tell me why the stack is offset from 0? It's a histogram, and the bin starts at zero, and runs to pi/10 (I'm guessing, since

[R] Problem with circular::plot.circular()

2009-03-29 Thread Michael Kubovy
require(circular) c <- circular(rep(0, 20), zero = pi/2, rotation = 'clock') plot(c, stack = TRUE, shrink = 1.5) Can anyone tell me why the stack is offset from 0? _ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400Ch