[R] simple subset question

R. Michael Weylandt michael.weylandt at gmail.com
Sun Dec 2 19:54:32 CET 2012


On Sun, Dec 2, 2012 at 6:46 PM, Felipe Carrillo
<mazatlanmexico at yahoo.com> wrote:
> Works with the small dataset (2 years) but I get the error message with the
> whole dataset (12 years of data). I am going to have
> to check what's wrong with it...Thanks

Off the cuff guess: there's a NA in Total so max(Total) is NA which
throws a wrench in `==`.

MW




More information about the R-help mailing list