0

A dataframe that is not tidy is given, some values have usable data, others are blank and non-applicable. If possible, could this be done in loop form.

I have tried omit.NA(dataframe), this does not work or it does not remove all characters.

  • 5
    Can you provide an example data.frame and show the expected output? – Maël Jun 26 '23 at 10:46
  • 1
    When providing an example, please also make clear what your expected result is. Do you want to remove entire rows or entire cols that contain one NA? If not, you might actually be looking for *imputation*. – cdalitz Jun 26 '23 at 10:56

0 Answers0