quae_antea {eratosthenes}R Documentation

Quae Antea

Description

For a list of multple partial sequences (of vector objects), generate another list which, for each element, gives the elements that occur before it ("quae antea"), i.e., analogous to a recursive trace through all partial sequences from right to left. An element "alpha" is added to all sets to avoid empty vectors. See also quae_postea.

Usage

quae_antea(obj)

quae_antea(obj)

Arguments

obj

A list of vector objects which reperesent ordered sequences.

Value

A list of vector objects, which contain the elements that occur before any one given element in the input sequences.

Examples

x <- c("A", "B", "C")
y <- c("B", "D", "E", "C", "F")
z <- c("C", "G")
a <- list(x, y, z)

quae_antea(a)


[Package eratosthenes version 0.0.2 Index]