na.count {omics} | R Documentation |
Counts the number of missing values.
na.count(X, margin, fraction=TRUE)
X |
an array, including a matrix. |
margin |
a vector giving the subscripts to count over. |
fraction |
whether to return the fraction of missing values. |
The number (or fraction) of missing values.