length,APV-method {trotter}R Documentation

Amalgams Pseudo-Vector Length

Description

Get the length of an APV instance.

Usage

## 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


[Package trotter version 0.6 Index]