length-APV-method: Amalgams Pseudo-Vector Length

Description Usage Arguments Details Value See Also

Description

Get the length of an APV instance.

Usage

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

Arguments

x

an instance of APV

Details

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

Value

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

See Also

Permutations Pseudo-Vector ppv

Combinations Pseudo-Vector cpv

Selections Pseudo-Vector spv

Subsets Pseudo-Vector sspv


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