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

有帮助吗?

解决方案

which(is.na(my.df$col.I.care.about))
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top