On Thu, Apr 9, 2009 at 1:39 PM,  <steve_fried...@nps.gov> wrote:
> I have a data.frame Cell.ave (attached and created via dput(Cell.ave,
> "Cell.ave")

I'm afraid your attachment didn't make it into the r-help mail.
Mailing list policy forbids binary attachments other than PS and PDF,
but should be forwarding plaintext attachments, I think.  Perhaps it
requires that the extension be ".txt" or something...?

Anyway... the problem seems diagnosable just from your code:

> WetSeasonMonths <- Cell.ave[Cell.ave$month  >= "5" & Cell.ave$month <=
> "11",]

There is no *string* which is >= "5" and <= "11".  Why aren't you
comparing numerically?

             -s

______________________________________________
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