transactiontoBitmax {RecAssoRules} | R Documentation |
Returns the corresponding Binary R DataFrame. If you imported your transaction as R DataFrame, please use the R function as.matrix(yourdataframe).
transactiontoBitmax(transac , deli)
transac |
a character vector or matrix. |
deli |
The character used to delimit the objects present in a transaction. |
data("Transacfruits")
binaryfruits = transactiontoBitmax (as.matrix(Transacfruits),",")
## Import transaction data Transacfruits and create the correspondant binary matrix.