Pregunta

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

¿Fue útil?

Solución

which(is.na(my.df$col.I.care.about))
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top