jeudi 1 mars 2018

R - Remove blanks from data frame

An example of the data frame I have is:

Index  TimeDifference
1        
2         
3            20
4      
5            67

I want to delete all rows that are blank (these are blank and NOT na). Hence the following data frame I want is:

Index     TimeDifference
3               20
5               67

Thanks

Aucun commentaire:

Enregistrer un commentaire