timedsequences-class

0th

Percentile

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

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

Keywords
classes
Note

The temporal information is taken from components sequenceID and eventID of transactionInfo. It may be either on an ordinal or metric scale. The former is always assumed if column eventID is a factor.

Note that a sequence must not contain two or more events with the same eventID.

Coercion from an object of class is not provided as this class does not contain timing information.

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 .
data:
inherited from class .
sequenceInfo:
inherited from class .
quality:
inherited from class , usually empty.

Extends

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

Aliases
  • timedsequences-class
  • coerce,transactions,timedsequences-method
  • coerce,timedsequences,transactions-method
  • LIST,timedsequences-method
  • show,timedsequences-method
  • show,summary.timedsequences-method
  • summary.timedsequences-class
  • summary,timedsequences-method
  • timesets
  • timesets,timedsequences-method
Examples
## use example data
data(zaki)

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

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

## coerce back
as(z, "transactions")
Documentation reproduced from package arulesSequences, version 0.2-19, License: GPL-2

Community examples

Looks like there are no examples yet.