0

How do I remove the NAs and blanks in one go (from DATE to BODYPAIN)?See the Attach image

I want this Output in R programming

  • first convert `""` to `NA`, then use `complete.cases()` – Wimpel Apr 04 '22 at 10:56
  • 1
    Does this answer your question? [Remove rows with all or some NAs (missing values) in data.frame](https://stackoverflow.com/questions/4862178/remove-rows-with-all-or-some-nas-missing-values-in-data-frame) – Nad Pat Apr 04 '22 at 10:56
  • Welcome to SO! It would be easier to help you if you provide a minimal reproducible example including the code you tried and a snippet of your data or some fake data, rather than an image of the data. See [here](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example). – SamR Apr 04 '22 at 12:00

0 Answers0