Learn R Programming

translateSPSS2R (version 1.0.0)

computeSysmis: Displays if a variable contains system-missing values

Description

R implementation of the SPSS Sysmis Function

Usage

computeSysmis (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 numeric with the length of the data. Returns the amount of system missing values of the variable.

Details

Performs a missing value operation. Displays only the amount of system missing values of the variable instead of looking after all missing values only system-missings get inspected.

variable is limited to one variable.

See Also

Related Functions computeMiss , computeNmiss , computeNvalid ,computeValue

Examples

Run this code
data(fromXPSS)

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

Run the code above in your browser using DataLab