Re: [R] gap.boxplot error message?

From: stephen sefick <ssefick_at_gmail.com>
Date: Wed, 25 Jun 2008 09:13:28 -0400

is there an na.rm argument in gap.boxplot?

On Wed, Jun 25, 2008 at 11:24 AM, Megan J Bellamy <bellammj_at_gov.ns.ca> wrote:

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

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

	[[alternative HTML version deleted]]

______________________________________________
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.
Received on Wed 25 Jun 2008 - 13:16:38 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 25 Jun 2008 - 14:30:53 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive