Learn R Programming

nimble (version 1.2.1)

any_na: Determine if any values in a vector are NA or NaN

Description

NIMBLE language functions that can be used in either compiled or uncompiled nimbleFunctions to detect if there are any NA or NaN values in a vector.

Usage

any_na(x)

any_nan(x)

Arguments

x

vector of values

Author

NIMBLE Development Team