Learn R Programming

ivmte (version 1.0.1)

permute: 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.