is.atomic.rv {rv} | R Documentation |
is.atomic(x)
returns TRUE
for rv objects.
This is necessary to make R believe that rvs are as good as other vectors.
## S3 method for class 'rv': is.atomic(x)
x |
an object |
is.atomic.rv
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)) # TRUE, believe it or not.