permute: Auxiliary function: generate all permutations of a vector

View source: R/ivlike.R

permuteR Documentation

Auxiliary function: generate all permutations of a vector

Description

This function generates every permutation of the elements in a vector.

Usage

permute(vector)

Arguments

vector

The vector whose elements are to be permuted.

Value

a list of all the permutations of vector.


jkcshea/ivmte documentation built on Aug. 31, 2024, 6:44 p.m.