computeNmiss: Displays the amount of missing values in variables.

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

View source: R/xpssComputeMissings.R

Description

R implementation of the SPSS Nmiss function

Usage

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

Details

Performs a missing value operation. computeNmiss displays the amount of system- and user-defined missing values of the variables.
User-defined and system-defind missings values get handled as one type of missing value.

Value

atomic numeric with the length of the data. Returns the amount of system- or user-defined missing values of the variables.

Author(s)

Bastian Wiessner

See Also

Related Functions computeMiss , computeNvalid , computeSysmis ,computeValue

Examples

1
2
3
data(fromXPSS)

xpssCompute(x=fromXPSS, variables=c("V6","V7_2"), fun="computeNmiss")

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