Is there any function to indicate the location of missing values in R?
Asked
Active
Viewed 882 times
-4
-
1You can use a simple filter, like this: `df[is.na(df$yourcolumn),]` – Earl Mascetti Mar 23 '20 at 13:49
2 Answers
-1
Yes - use the is.na()
function. There are some examples in the R documentation, but basically it returns a boolean value.

Dharman
- 30,962
- 25
- 85
- 135

chemdork123
- 12,369
- 2
- 16
- 32