Finite, Infinite, NA and NaN Numbers in mcnode.

Share:

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.