rvpermut: Random Vectors with a Permutation Distribution

Description Usage Arguments Author(s) References Examples

View source: R/rvpermut.R

Description

Generates a random vector with each component having a permutation distribution based on the given (fixed) data vector.

Usage

1
  rvpermut(data, prob=NULL)

Arguments

data

a fixed numeric vector

prob

optional probabilities for the components in data

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

Examples

1
  x <- rvpermut(1:10)

rv documentation built on May 19, 2017, 7:09 p.m.

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

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

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

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