computeNvalid: Displays the amount of valid values in variables.
Description
R Implementation of the SPSS Nvalid function.
Usage
computeNvalid (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 valid values of the variables.
Details
Performs a missing value operation. As opposite of computeNmiss, computeNvalid visualizies only the valid values of integer vectors or character vectors.