cara mengecualikan inf in r

df[!is.infinite(df$x),]
Amok T-Rex