Learn R Programming

translateSPSS2R (version 1.0.0)

computeMiss: Displays whether a variable contains missing values

Description

R Implementation of the SPSS Missing Function.

Usage

computeMiss (x, variable = NULL)

Arguments

x
a (non-empty) data.frame, data.table object or input data of class "xpssFrame".
variable
atomic character with the name of the variable.

Value

atomic logical with the length of the data. Returns TRUE, if the variable contains a system- or user-defined missing value.

Details

Performs a missing value operation. ComputeMiss displays system- and user-defined missing values of variables. The different missing types will be inspected without checking if they are system-; or user-defined missings.

variable input is limited to only one variable.

See Also

Related Functions computeNmiss , computeNvalid , computeSysmis ,computeValue

Examples

Run this code
data(fromXPSS)

xpssCompute(x=fromXPSS, variables="V7_2",fun="computeMiss")

Run the code above in your browser using DataLab