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

Description Usage Arguments Value See Also Examples

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)

mc2d documentation built on July 5, 2021, 3:01 p.m.