[R] why doesn't ifelse work ?

eric ericstrom at aol.com
Fri Apr 29 04:58:37 CEST 2011


from the console ...

> table(signal)
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: http://r.789695.n4.nabble.com/why-doesn-t-ifelse-work-tp3482680p3482792.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list