Learn R Programming

arulesSequences (version 0.2-1)

SPparameter-class: Class "SPparameter" --- cSPADE Mining Parameters

Description

Provides the constraint parameters for the cSPADE algorithm for mining frequent sequences.

Arguments

Objects from the Class

A suitable default parameter object will be automatically created by a call to cspade. However, the values can be replaced by specifying a named list with the names (partially) matching the slot names of the SPparameter class.

Objects can be created by calls of the form new("SPparameter", support, ...).

See Also

Class SPcontrol, function cspade.

Examples

Run this code
## coerce from list 
p <- as(list(maxsize = NULL, maxwin = 5), "SPparameter")
p

## coerce to
as(p, "vector")
as(p, "data.frame")

Run the code above in your browser using DataLab