search for: yabstand

Displaying 1 result from an estimated 1 matches for "yabstand".

Did you mean: abstand
2002 Sep 02
2
ifelse behavior
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear R-Users, I cannot understand the behavior of ifelse. I have a vector blah > str(blah) List of 14 $ index.s : num 100 $ index.u : num 100 $ index.t : num 100 $ yabstand.s: num NA $ yabstand.u: num NA $ modal.s : int 8 $ modal.u : int 71 $ modal.t : int 21 > > str(blah$index.s) num 100 > everything seems OK. when I do a ifelse-check, something strange happens: > ifelse(blah$index.s == 100 ,1,2) [1] 2 When I replace the blah$index.s with 10...