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

## S3 method for class 'vec'
is.na(x)

## S3 method for class 'vec'
is.nan(x)

Arguments

x

vector of values

Author(s)

NIMBLE Development Team


[Package nimble version 0.8.0 Index]