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. 12, 2024, 6:27 a.m.

Related to permutations in admisc...