Вопрос

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