I have a data.frame x2
as
> x2
x2
1 NaN
2 0.1
3 NaN
4 0.2
5 0.3
I would like to remove the NaN
from this column. Is there a quick way to do that?
x2 <- na.omit(x2)
may work for you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With