Is there a dplyr or tidytable method for na.omit()?

At the moment, I'm having trouble with na.omit(), where it would drop all the data for reasons unknown -- never happened to me before. Seems like the best I can search was this one: missing data - na.omit dropping all observations in R - Stack Overflow

I was just wondering if there is a dplyr or tidytable alternative for na.omit().

Hi,
The tidyverse (tidyr) alternative is drop_na()
If you have further issues, you can post sample data and your code.
Cheers,

1 Like

Thanks, it seems that drop_na() wouldn't solve it, so I dug in deeper.

It's because of a date column that wasn't parsed as a date column.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.