Learn R Programming

mc2d (version 0.2.0)

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

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

Value

A logical mcnode object.

Arguments

x

A mcnode object.

See Also

Examples

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



Run the code above in your browser using DataLab