Learn R Programming

pxweb (version 0.17.0)

generate_permutations: Generate batch permutations

Description

Generate batch permutations

Usage

generate_permutations(x)

Arguments

x

a vector with elements to permute

Details

Generates permutations of dim. If more than 6 dim (highly unlikely) a sample of 1000 combinations is drawn. Otherwise all possible permutations are returned.