arulesSequences (version 0.2-19)

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", ...).

Slots

time:

an object of class ngCMatrix" containing a sparse representation of the event times of the elements of the sequences. note that the storage layout is the same as for slot data.

timeInfo:

a data frame containing the set of time identifiers (column eventID) and possibly distinct labels.

elements:

inherited from class '>sequences.

data:

inherited from class '>sequences.

sequenceInfo:

inherited from class '>sequences.

quality:

inherited from class '>sequences, usually empty.

Extends

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

Methods

coerce

signature(from = "transactions", to = "timedsequences")

coerce

signature(from = "timedsequences", to = "transactions")

c

signature(x = "timedsequences")

dim

signature(x = "timedsequences")

labels

signature(object = "timedsequences")

LIST

signature(x = "timedsequences")

inspect

signature(x = "timedsequences")

show

signature(object = "timedsequences")

summary

signature(object = "timedsequences")

timeFrequency

signature(x = "timedsequences")

timeInfo<-

signature(object = "timedsequences")

timeInfo

signature(object = "timedsequences")

timesets

signature(object = "timedsequences")

times

signature(x = "timedsequences")

timesets

signature(x = "timedsequences"); returns a collection of sequences of event times as an object of class itemMatrix.

timeTable

signature(x = "timedsequences")

See Also

Class itemMatrix, transactions, '>sequences.

Examples

Run this code
# NOT RUN {
## 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