NA.mcnode: 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

1
2
3
4
5
6
7
8
## 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

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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.