length-CPV-method: Combinations Pseudo-Vector Length

Description Usage Arguments Details Value See Also

Description

Get the length of a CPV instance.

Usage

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

Arguments

x

an instance of CPV

Details

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

Value

the number of combinations in pseudo-vector x

See Also

Permutations Pseudo-Vector ppv

Amalgams Pseudo-Vector apv

Selections Pseudo-Vector spv

Subsets Pseudo-Vector sspv


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