NA.mcnode: Finite, Infinite, NA and NaN Numbers in mcnode.

NA.mcnodeR Documentation

Finite, Infinite, NA and NaN Numbers in mcnode.

Description

⁠is.na⁠’, ‘⁠is.nan⁠’, ‘⁠is.finite⁠’ and ‘⁠is.infinite⁠’ return a logical ‘⁠mcnode⁠’ of the same dimension as ‘⁠x⁠’.

Usage

## S3 method for class 'mcnode'
is.na(x)
## S3 method for class 'mcnode'
is.nan(x)
## S3 method for class 'mcnode'
is.finite(x)
## S3 method for class 'mcnode'
is.infinite(x)

Arguments

x

A ‘⁠mcnode⁠’ object.

Value

A logical ‘⁠mcnode⁠’ object.

See Also

is.finite, NA

Examples

x <- log(mcstoc(rnorm, nsv=1001))
x
is.na(x)




mc2d documentation built on June 22, 2024, 10:54 a.m.