Re: [R] why doesn't ifelse work ?

From: eric <>
Date: Thu, 28 Apr 2011 19:58:37 -0700 (PDT)

from the console ...

> table(signal)


   0 1
1286 3885

note there is no -1 value.

This is consistent with what I see if if plot(signal). When I issue that statement from the console, I see signal vary between 0 and 1.0 but it never goes to - 1

View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Fri 29 Apr 2011 - 04:00:06 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 Fri 29 Apr 2011 - 04:00:33 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive