nafracCalc: Calculate fractions of missing values.
Description
Calculate the fraction (univariate case) or fractions (bivariate
case) of missing values in the data or in each component of the
data.
Usage
nafracCalc(y)
Arguments
y
A vector or a one or two column matrix of discrete data or a list of such
vectors or matrices.
Value
A scalar (between 0 and 1) if the data are univariate or a pair of
such scalars if the data are bivariate. The values are equal to the
ratios of the total count of missing values in the appropriate column
to the total number of observations.