Learn R Programming

trotter (version 0.6)

length,APV-method: Amalgams Pseudo-Vector Length

Description

Get the length of an APV instance.

Usage

"length"(x)

Arguments

x
an instance of APV

Value

the number of amalgams (permutations with replacement) in pseudo-vector x

Details

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

See Also

Permutations Pseudo-Vector ppv

Combinations Pseudo-Vector cpv

Selections Pseudo-Vector spv

Subsets Pseudo-Vector sspv