How can I find the index of all NA in a dataframe column?

后端 未结 1 932
余生分开走
余生分开走 2020-12-21 00:46

I have a dataframe and in a particular column I want to find the index of all NA values. How can I do it?

相关标签:
1条回答
  • 2020-12-21 01:05
    which(is.na(my.df$col.I.care.about))
    
    0 讨论(0)
提交回复
热议问题