Skip to content
Prev 378608 / 398502 Next

Remove cases with -Inf from a data frame

Sorry, that's

function(x)all(is.finite(x) | is.na(x) )

of course.


Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Sat, Feb 16, 2019 at 8:25 AM Bert Gunter <bgunter.4567 at gmail.com> wrote: