[R] gap.boxplot error message?

Megan J Bellamy bellammj at gov.ns.ca
Wed Jun 25 17:24:51 CEST 2008


Hi Stephen,

I tried what you suggested and got a different error message instead... any ideas?

> gap.boxplot(CLI3, CLI4, CLI5, CLI6, CLI7, gap=list(top=c(8000,280000), bottom=c(0,250)), range=50, outline=TRUE)
Error in bxgap$out[bxgap$out > gap$top[2]] <- bxgap$out[bxgap$out > gap$top[2]] -  : 
  NAs are not allowed in subscripted assignments


>>> "stephen sefick" <ssefick at gmail.com> 06/25/08 9:48 AM >>>
the par(ask=FALSE) doesn't belong in the code (I think).
gap.boxplot(CLI3, CLI4, CLI5, CLI6, CLI7, gap=list(top=c(8000,280000),
bottom=c(0,250)), range=50, outline=TRUE)

but I haven't tried this.

Stephen
On Wed, Jun 25, 2008 at 10:49 AM, Megan J Bellamy <bellammj at gov.ns.ca>
wrote:

> Hello,
>
> When I put in the following script line:
> gap.boxplot(CLI3, CLI4, CLI5, CLI6, CLI7, gap=list(top=c(8000,280000),
> bottom=c(0,250)), range=50, outline=TRUE, par(ask=FALSE)
>
> I get a '+' telling me I am missing something. I have tried adding ')',
> 'width=NULL', etc and then I get this error:
> Error: unexpected symbol in:
> "gap.boxplot(CLI3, CLI4, CLI5, CLI6, CLI7, gap=list(top=c(8000,280000),
> bottom=c(0,250)), range=50, outline=TRUE, par(ask=FALSE)
> box"
>
> Any ideas? I have read over the Graphical Manual and am going through
> 'Modern Applied Statistics with S' but I can't figure out where I am going
> wrong...
>
> Megan Bellamy
>
> ______________________________________________
> 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.
>



-- 
Let's not spend our time and resources thinking about things that are so
little or so large that all they really do for us is puff us up and make us
feel like gods. We are mammals, and have not exhausted the annoying little
problems of being mammals.

-K. Mullis



More information about the R-help mailing list