permute {dse}R Documentation

Permute

Description

Return matrix with rows indicating all possible selections of elements from seq(M). 0 in the result indicates omit. M is usually a positive integer. M=0 gives NULL. Neg. M give -permute(abs(M)).

Usage

    permute(M)

Arguments

M

An integer.

Value

A matrix.

Examples

    permute(4)

[Package dse version 2020.2-1 Index]