Description Usage Arguments Value
View source: R/create_transactionmatrix.R
Transforms a given transaction matrix into an object of class TransactionData, enabling the user to examine the TransactionData with the provided methods.
1 | create_transaction(input)
|
input |
Binary matrix containing transaction data, with rows representing transactions and columns representing items. Can be either logical or numeric, every value has to be either 0 / 1 or FALSE / TRUE (0 or FALSE if item is not bought). Columns should be named. |
Returns an object of class TransactionData
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.