computeMiss: Displays whether a variable contains missing values

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

View source: R/xpssComputeMissings.R

Description

R Implementation of the SPSS Missing Function.

Usage

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

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.

Value

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

Author(s)

Bastian Wiessner

See Also

Related Functions computeNmiss , computeNvalid , computeSysmis ,computeValue

Examples

1
2
3
data(fromXPSS)

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

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