I have a data.frame containing some columns with all NA values, how can I delete them from the data.frame.
Can I use the function
na.omit(...)
Another option with Filter
Filter
Filter(function(x) !all(is.na(x)), df)
NOTE: Data from @Simon O'Hanlon's post.