sequences-class {arulesSequences} | R Documentation |
Represents a collection of sequences and the associated quality measures.
Most frequently, objects are created by a sequence mining algorithm such as cSPADE as the return value.
Objects can also be created by calls of the form
new("sequences", ...)
.
elements
:itemsets
containing a sparse representation of the unique elements of a
sequence.data
:sgCMatrix
containing a sparse representation of ordered lists
(collections of) indexes into the unique elements.info
:quality
:
Class "associations"
, directly.
coerce
signature(from = "sequences", to = "list")
coerce
signature(from = "sequences", to = "data.frame")
coerce
signature(from = "list", to = "sequences")
%in%
signature(x = "sequences", table = "character")
%ain%
signature(x = "sequences", table = "character")
%pin%
signature(x = "sequences", table = "character")
%ein%
signature(x = "sequences", table = "character")
c
signature(x = "sequences")
dim
signature(x = "sequences")
duplicated
signature(x = "sequences")
labels
signature(object = "sequences")
length
signature(x = "sequences")
LIST
signature(x = "sequences")
match
signature(x = "sequences")
nitems
signature(x = "sequences")
info
signature(object = "sequences")
info<-
signature(object = "sequences")
inspect
signature(x = "sequences")
is.maximal
signature(x = "sequences")
;
returns a logical vector indicating if a sequence is not a
subsequence of any other sequence in x
.itemFrequency
signature(x = "sequences")
itemInfo
signature(object = "sequences")
itemInfo<-
signature(object = "sequences")
itemLabels
signature(object = "sequences")
itemLabels<-
signature(object = "sequences")
itemTable
signature(x = "sequences")
itemsets
signature(x = "sequences")
;
returns the reference set of distinct
itemsets (elements)
.ruleInduction
signature(x = "sequences")
show
signature(object = "sequences")
size
signature(x = "sequences")
subset
signature(x = "sequences")
summary
signature(object = "sequences")
unique
signature(x = "sequences")
Coercion from an object of class
transactions
with
temporal information to an object of class sequences
is not provided as this information would be lost. Use class
timedsequences
instead.
Currently, a general method for concatenation of sequences similar
to cbind
, is not provided.
Christian Buchta
Class
sgCMatrix
,
timedsequences
,
itemsets
,
associations
,
method
ruleInduction
,
FIXME,
function
cspade
,
data
zaki
.
## 3 example sequences x <- list("01" = list(c("A","B"), "C"), "02" = list("C"), "03" = list("B", "B")) ## coerce s <- as(x, "sequences") as(s, "data.frame") ## get reference set as(itemsets(s), "data.frame")