info-methods

0th

Percentile

Get/Set Object Information

sequenceInfo gets or sets information on the elements of a collection of sequences

ruleInfo gets or sets information on the elements of a collection of sequence rules.

itemInfo gets or sets information on the set of distinct items associated with a collection of sequences.

timeInfo gets or sets information on the event times of a collection of timed sequences.

Keywords
manip, attribute
Usage
# S4 method for sequences
sequenceInfo(object)

## S4 method for signature 'sequences': sequenceInfo(object) <- value

# S4 method for sequencerules ruleInfo(object)

## S4 method for signature 'sequencerules': ruleInfo(object) <- value

# S4 method for sequences itemInfo(object)

## S4 method for signature 'sequences': itemInfo(object) <- value

# S4 method for timedsequences timeInfo(object)

## S4 method for signature 'timedsequences': timeInfo(object) <- value

Arguments
object
an object.
value
a data frame corresponding with the elements or times of object.
Value

For method sequenceInfo and method ruleInfo a data frame of information on and corresponding with the elements of object.

For method itemInfo a data frame of information on and corresponding with the distinct items of object.

For method timeInfo a data frame of information on and corresponding with the distinct event times of object.

Note

For reasons of efficiency the reference set of distinct itemsets may contain unreferenced elements, i.e. items that do not occur in any sequence.

Unique item identifiers must be provided in column labels.

Unique event time identifiers must be provided in columns labels and eventID. Note that the latter is used for computation of gaps, etc.

See Also

Class , , .

Aliases
  • sequenceInfo
  • sequenceInfo,sequences-method
  • sequenceInfo<-
  • sequenceInfo<-,sequences-method
  • ruleInfo
  • ruleInfo,sequencerules-method
  • ruleInfo<-
  • ruleInfo<-,sequencerules-method
  • itemInfo
  • itemInfo,sequences-method
  • itemInfo<-
  • itemInfo<-,sequences-method
  • timeInfo
  • timeInfo,timedsequences-method
  • timeInfo<-
  • timeInfo<-,timedsequences-method
Examples
## continue example
example(ruleInduction, package = "arulesSequences")

## empty
sequenceInfo(s2) <- sequenceInfo(s2)
ruleInfo(r2) <- ruleInfo(r2)

## item info
itemInfo(s2)


## time info
z <- as(zaki, "timedsequences")
timeInfo(z)
Documentation reproduced from package arulesSequences, version 0.2-19, License: GPL-2

Community examples

Looks like there are no examples yet.