r convert dataframe to transaction code example
Example: r convert dataframe to transaction
# Convert dataframe to transactional data type
df_Transactions <- as(split(Transactions[,"productname"],Transactions["SalesOrderID"]),"transactions")
# Convert dataframe to transactional data type
df_Transactions <- as(split(Transactions[,"productname"],Transactions["SalesOrderID"]),"transactions")