Re: [R] gap.barplot doesn't support data arrays?

2011-04-05 Thread Jim Lemon
On 04/04/2011 11:39 PM, Andrew D. Steen wrote: I am trying to make a barplot with a broken axis using gap.barplot (in the indispensable plotrix package). Aww, gee, you've won me. This works well when the data is a vector: twogrp-c(rnorm(10)+4,rnorm(10)+20)

Re: [R] gap.barplot doesn't support data arrays?

2011-04-05 Thread Andrew D. Steen
Jim, That works great. Thanks much for the quick help. Cheers, Drew -Original Message- From: Jim Lemon [mailto:j...@bitwrit.com.au] Sent: Tuesday, April 05, 2011 2:12 PM To: Andrew D. Steen Cc: r-help@r-project.org Subject: Re: [R] gap.barplot doesn't support data arrays? On 04

[R] gap.barplot doesn't support data arrays?

2011-04-04 Thread Andrew D. Steen
I am trying to make a barplot with a broken axis using gap.barplot (in the indispensable plotrix package). This works well when the data is a vector: twogrp-c(rnorm(10)+4,rnorm(10)+20) gap.barplot(twogrp,gap=c(8,16),xlab=Index,ytics=c(3,6,17,20),ylab=Group values,main=Barplot with gap) But

Re: [R] gap.barplot doesn't support data arrays?

2011-04-04 Thread Peter Ehlers
On 2011-04-04 06:39, Andrew D. Steen wrote: I am trying to make a barplot with a broken axis using gap.barplot (in the indispensable plotrix package). This works well when the data is a vector: twogrp-c(rnorm(10)+4,rnorm(10)+20)

Re: [R] gap.barplot doesn't support data arrays?

2011-04-04 Thread Andrew D. Steen
spend enough time with the axis.break() function. But is there an easier way? --Drew -Original Message- From: Peter Ehlers [mailto:ehl...@ucalgary.ca] Sent: Monday, April 04, 2011 4:33 PM To: Andrew D. Steen Cc: r-help@r-project.org Subject: Re: [R] gap.barplot doesn't support data