NArow | R Documentation |
Find how many NA in a row if there are any
NArow(data)
data |
A dataframe |
How many NA's in a row
data <- data.frame(points=c(3, 2, 4, 3, 4, 8), assists=c(6, NA, 7, NA, 7, 9), team=c('A', 'A', 'A', NA, 'C', 'C')) explore(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.