nimble (version 0.7.0)

is.na.vec: 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

# S3 method for vec
is.na(x)

# S3 method for vec is.nan(x)

Arguments

x

vector of values