Description Usage Arguments Value Note Author(s) See Also Examples
Count the missing or non-finite values for each column of a matrix or data.frame
1 |
object |
a vector, matrix, or data.frame |
inf |
if TRUE, Inf and NaN values are counted along with NAs |
numerical vector containing the missing value counts for each column
This is a simple shortcut for apply(is.na(object),2,sum)
or apply(!is.finite(object),2,sum)
Werner A. Stahel, ETH Zurich
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.