[,PPV-method {trotter}R Documentation

Retrieve a Permutation by Index

Description

Access a permutation stored in a PPV instance by index.

Usage

## S4 method for signature 'PPV'
x[i, j, drop]

Arguments

x

an instance of PPV.

i

an index specifying the position of the sought permutation.

j

not used.

drop

not used.

Details

The permutation at index i of pseudo-vector x is not actually stored in memory but calculated as needed. The extract method is used solely for interpretation.

Value

the permutation located at position i in pseudo-vector x

See Also

Combinations Pseudo-Vector cpv

Amalgams Pseudo-Vector apv

Selections Pseudo-Vector spv

Subsets Pseudo-Vector sspv


[Package trotter version 0.6 Index]