search for: jkpeck

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

2008 Aug 16
4
Dealing with NaN's in data frames
...fficient way to replace all occurrences of NaN in a data frame with NA. I can do this with a double loop, but it seems that there should be a higher level and more efficient way. With is.na, I could use ifelse, but if.nan seems not to have similar capabilities. TIA, Jon Peck Jon K. Peck jkpeck@aya.yale.edu [[alternative HTML version deleted]]