dimanche 18 août 2019

How to delete rows with specific condition

I have a txt file of tabular data (rows and columns) of numerical values. Some data points however have NA as values. Some rows have some data points with numerical values and some with NA. But some rows have all data points as NA. I want to delete only the rows whose data points are all NA. How do I?

Column: A B C D E F G

row One : 1 2 4 6 8 9 10

row two: 2 NA 6 NA 8 6 3

row three: NA NA NA NA NA NA NA

I want to delete rows like row three where all data points are all NA. How do I?

Aucun commentaire:

Enregistrer un commentaire