splitrv {rv} | R Documentation |
splitrv
splits the given vector based on the names
of the components and returns a list.
The names are supposed to be of the format 'name[indexes]',
for example 'alpha[1,1]', 'beta[1]', etc.
A name without brackets implies '[1]'.
splitrv(x)
x |
an rv object with the name attributes set |
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.
#