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

View source: R/nimbleFunction_Rexecution.R

any_naR 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


nimble documentation built on Sept. 11, 2024, 7:10 p.m.