computeNmiss: Displays the amount of missing values in variables.
Description
R implementation of the SPSS Nmiss function
Usage
computeNmiss(x, variables = NULL)
Arguments
x
a (non-empty) data.frame, data.table object or input data of class "xpssFrame".
variables
atomic character or character vector with the names of the variables.
Value
atomic numeric with the length of the data. Returns the amount of
system- or user-defined missing values of the variables.
Details
Performs a missing value operation. computeNmiss displays the amount of system- and user-defined missing values of the variables. User-defined and system-defind missings values get handled as one type of missing value.