computeSysmis: Displays if a variable contains system-missing values

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/xpssComputeMissings.R

Description

R implementation of the SPSS Sysmis Function

Usage

1
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.

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.

Value

atomic numeric with the length of the data. Returns the amount of system missing values of the variable.

Author(s)

Bastian Wiessner

See Also

Related Functions computeMiss , computeNmiss , computeNvalid ,computeValue

Examples

1
2
3
data(fromXPSS)

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

translateSPSS2R documentation built on May 30, 2017, 4:31 a.m.