rvmixed {rv} | R Documentation |
Creates or tests for objects of type ``rvmixed
".
rvmixed(x, pointmass=NULL) is.rvmixed(x) ## S3 method for class 'rv': is.rvmixed(x) ## S3 method for class 'rvmixed': as.rv(x)
x |
object to be coerced or tested. |
pointmass |
vector of points with point mass probability |
... |
other arguments |
Internally random factors are integer-valued just like regular factors in R.
rvmixed
: an rvmixed
object.
is.rvmixed
: TRUE
or FALSE
.
as.rv.rvmixed
: an rv
object.
as.rvmixed.rv
: an rvmixed
object.
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. http://www.stat.columbia.edu/~kerman/Research/postsim.pdf
#