length-PPV-method: Permutations Pseudo-Vector Length

Description Usage Arguments Details Value See Also

Description

Get the length of a PPV instance.

Usage

1
2
## S4 method for signature 'PPV'
length(x)

Arguments

x

an instance of PPV

Details

Since x contains all the k-permutations of objects in vector items, length(x) will return choose(length(items), k) * factorial(k).

Value

the number of permutations in pseudo-vector x

See Also

Combinations Pseudo-Vector cpv

Amalgams Pseudo-Vector apv

Selections Pseudo-Vector spv

Subsets Pseudo-Vector sspv


trotter documentation built on May 2, 2019, 1:27 p.m.