atomic {rv} | R Documentation |
Tests whether an object is ``atomic". For compatibility, 'rv' objects are defined to be atomic.
is.atomic(x)
x |
an object, random or constant |
If x
is not an rv object, the function returns the value of
the primitive function "is.atomic"
.
The original function is.atomic
is replaced with
the function in the rv package; the original function is
restored upon detaching the package.
TRUE
or FALSE
.
Jouni Kerman kerman@stat.columbia.edu http://www.stat.columbia.edu/~kerman
Kerman, Jouni and Gelman, Andrew. Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.
is.atomic(rvnorm(1))