Pergunta

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

Foi útil?

Solução

which(is.na(my.df$col.I.care.about))
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top