Learn R Programming

muStat (version 1.7.0)

anyMissing: Check for Missing Values.

Description

Check if there exist any missing values.

Usage

anyMissing(x)

Arguments

x
data object

Details

Returns TRUE, if there are any NA's.

See Also

is.na, link{chkMissing}

Examples

Run this code
x <- c(1, 4, NA, 0, 5)
anyMissing(x)
# [1] TRUE

Run the code above in your browser using DataLab