permutations: Calculates the permutations of a vector

View source: R/permutations.R

permutationsR Documentation

Calculates the permutations of a vector

Description

Generates all possible permutations of elements from a vector.

Usage

permutations(x)

Arguments

x

Any kind of vector.

Author(s)

Adrian Dusa

Examples


permutations(1:3)


admisc documentation built on Sept. 18, 2022, 9:05 a.m.

Related to permutations in admisc...