Domanda

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

È stato utile?

Soluzione

which(is.na(my.df$col.I.care.about))
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top