Learn R Programming

arulesSequences (version 0.2-1)

timedsequences-class: Class "timedsequences" --- Collections of Sequences with Timing Information

Description

Represents a collection of (observed) sequences and the associated timing information.

Arguments

Objects from the Class

Typically, objects are created by coercion from an object of class transactions.

Objects can also be created by calls of the form new("timedsequences", ...).

Extends

Class "sequences", directly. Class "associations", by class "sequences", distance 2.

See Also

Class itemMatrix, transactions, sequences.

Examples

Run this code
## use example data
data(zaki)

## coerce
z <- as(zaki, "timedsequences")
z

## get time sequences
summary(timesets(z))

## coerce back
as(z, "transactions")

Run the code above in your browser using DataLab