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

any_na {nimble} | R Documentation

## 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(s)

NIMBLE Development Team

[Package nimble version 0.9.1 Index]