na.count: Count Missing Values

Description Usage Arguments Value

View source: R/utils.R

Description

Counts the number of missing values.

Usage

1
    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.


omics documentation built on May 29, 2017, 11:36 a.m.

Search within the omics package
Search all R packages, documentation and source code