na.count {omics}R Documentation

Count Missing Values

Description

Counts the number of missing values.

Usage

    na.count(X, margin, fraction=TRUE)

Arguments

X

an array, including a matrix.

margin

a vector giving the subscripts to count over.

fraction

whether to return the fraction of missing values.

Value

The number (or fraction) of missing values.


[Package omics version 0.1-5 Index]