rvpermut {rv}R Documentation

Generate the Permutation Distribution of a Data Vector or Array

Description

Generates a random vector that has the permutation distribution of a given constant vector or array.

Usage

  rvpermut(data)

Arguments

data a constant vector or array

Details

rvpermut

Value

A random vector or array of the same dimension as data.

Author(s)

Jouni Kerman kerman@stat.columbia.edu http://www.stat.columbia.edu/~kerman

References

Kerman, Jouni and Gelman, Andrew. Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.

Examples

  #

[Package rv version 0.925 Index]