Description Usage Arguments Examples
This function is not to be used directly, it is called by df2spmfBasket
1 2 | ToTimedSequence(x, timeStep = timestep, timeUnit = timeUnit,
timeFormat = timeFormat)
|
x |
a dataframe which must contains variable ID, itemset, eventNum and time |
timeStep |
if time is taken into account in the building of the sequence, this parameter allows to perform an integer division. For instance, if your time is in days but you wish to perform a time constrained sequence mining grouping relying on weeks, timeStep will be 7. |
timeUnit |
this parameter will be used in future versions |
timeFormat |
this parameter is inherited from the df2SPMFSequence function |
1 | ToSequenceBasket()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.