NA.mcnode {mc2d}R 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)




[Package mc2d version 0.2.0 Index]