aperm.rv: Random Array Transposition

Description Usage Arguments Details Author(s) References See Also Examples

Description

Transpose a random array by permuting its dimensions and optionally resizing it.

Usage

1
2
  ## S3 method for class 'rv'
aperm(a, perm, ...)

Arguments

a

the random matrix to be transposed

perm

the subscript permutation vector. See the manual page for the gneric method aperm.

...

further arguments passed to aperm

Details

This is the rv-compatible version of the function aperm. It first applies

Author(s)

Jouni Kerman jouni@kerman.com

References

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").

See Also

aperm

Examples

1
2
  x <- rvarray(rvnorm(24), dim=c(2,3,4))
  print(aperm(x))


Search within the rv package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.