[R] Re : Sort out number on value

David Winsemius dwinsemius at comcast.net
Fri Apr 20 20:43:59 CEST 2012


On Apr 20, 2012, at 9:49 AM, Yellow wrote:

> I now filtered the Na and Inf out of my data.
> And the number is exactly the same als the output from the excel file.
>
> Thanks everyone. :)
> Now I can finish my work.

In the future it might be safer to use subset() or perhaps  
x[which(x>7.5)]. That would omit the NA or NaN values (although it  
might not remove the Inf values, but I didn't realize the Excel had a  
concept of Inf).

-- 

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list