aperm.rv {rv} | R Documentation |
Transpose a random array by permuting its dimensions and optionally resizing it.
aperm.rv(x, ...)
x |
the random matrix to be transposed |
... |
further arguments passed to aperm |
This is the rv-compatible version of the function aperm
.
Since aperm
is not a generic function,
the whole name aperm.rv
must be specified when calling the function
when X
is an 'rv' object.
Jouni Kerman jouni@kerman.com
Kerman, J. and Gelman, A. (2007). Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Statistics and Computing 17:3, 235-244.
See also vignette("rv")
.
x <- rvarray(rvnorm(24), dim=c(2,3,4)) print(aperm.rv(x))