| timedsequences-class {arulesSequences} | R Documentation |
Represents a collection of (observed) sequences and the associated timing information.
Typically, objects are created by coercion from an object of class
transactions.
Objects can also be created by calls of the form
new("timedsequences", ...).
time: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:eventID) and possibly distinct labels.elements:sequences.data:sequences.sequenceInfo:sequences.quality:sequences,
usually empty.
Class "sequences", directly.
Class "associations", by class
"sequences", distance 2.
coercesignature(from = "transactions", to = "timedsequences")coercesignature(from = "timedsequences", to = "transactions")csignature(x = "timedsequences")dimsignature(x = "timedsequences")labelssignature(object = "timedsequences")LISTsignature(x = "timedsequences")inspectsignature(x = "timedsequences")showsignature(object = "timedsequences")summarysignature(object = "timedsequences")timeFrequencysignature(x = "timedsequences")timeInfo<-signature(object = "timedsequences")timeInfosignature(object = "timedsequences")timesetssignature(object = "timedsequences")timessignature(x = "timedsequences")timesetssignature(x = "timedsequences");
returns a collection of sequences of event times as an object of
class itemMatrix.timeTablesignature(x = "timedsequences")
The temporal information is taken from components sequenceID
and eventID of slottransactionInfo. 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 sequences is
not provided as this class does not contain timing information.
FIXME currently objects of this class cannot be used directly in
sequence mining with cspade.
Christian Buchta
Class
itemMatrix,
transactions,
sequences.
## use example data data(zaki) ## coerce z <- as(zaki, "timedsequences") z ## get time sequences summary(timesets(z)) ## coerce back as(z, "transactions")