Skip to content
Prev 378627 / 398502 Next

Remove cases with -Inf from a data frame

This is a similar versions of other answers.

df[apply(apply(df,2,is.finite),1,sum)==4,]

BOL---EK

On Sat, Feb 16, 2019 at 10:07 AM AbouEl-Makarim Aboueissa
<abouelmakarim1962 at gmail.com> wrote: