Learn R Programming

trotter (version 0.6)

length,SSPV-method: Subsets Pseudo-Vector Length

Description

Get the length of an SSPV instance.

Usage

"length"(x)

Arguments

x
an instance of SSPV

Value

the number of subsets in pseudo-vector x

Details

Since x contains all the subsets of objects in vector items, length(x) will return 2 ^ length(items).

See Also

Permutations Pseudo-Vector ppv

Combinations Pseudo-Vector cpv

Amalgams Pseudo-Vector apv

Selections Pseudo-Vector spv