I am trying to mine product-usage sequences for multiple users of online gaming site. I have found the R package arulesSequences but am not sure how to fit it to my problem. The data format would be tuples similar to those used in arulesSequences, but instead of just mentioning products A and B in transactions, I would like to mention the quantities in which those products (games of different types) were bought (played, in my case).
Example:
sequence1 (for uid=1)
Date UID Game1 Game2 Game3 Game4
Jan1 1 125times 0times 0times 0times
Jan2 1 0times 1time 0times 0times
Each user would have such a sequence. However, I see that arulesSequences function cspades would only allow to operate with bollean types, e.g. whether each game was actually played on that date:
Example:
sequence1 (for uid=1)
Date UID
Jan1 1 Game1 Game2
Jan2 1 Game1
Jan3 1 Game2 Game3
My goal is to determine rules like "if a user playes Game3 on that date, it causes them to play much more of Game2 one week later".