Re: [R] SOLVED: evaluate NA to FALSE instead of NA?

2014-10-14 Thread S Ellison
> Thanks Joshua and Sven - I completely forgot about which() . Also na.omit(p[p<=0.05]) #and p[p<=0.05 & !is.na(p)] S. *** This email and any attachments are confidential. Any use...{{dropped:8}}

[R] SOLVED: evaluate NA to FALSE instead of NA?

2014-10-14 Thread Rainer M Krug
Thanks Joshua and Sven - I completely forgot about which() . Pascal - I never new about complete.cases - interesting function. Thanks, Rainer Rainer M Krug writes: > Hi > > I want to evaluate NA and NaN to FALSE (for indexing) so I would like to > have the result as indicated here: > > ,--