na_count(x, ...)
"na_count"(x, columns = c(), ...)
"na_count"(x, ...)
data.frame
: If columns are specified, returns the maximum of the count of NAs for those columns. Otherwise, it returns the number of rows that have a NA in any column. default
: Calls na.omit
on x
, and returns the length of the result. This is only meaningful for one-dimensional objects (vectors).