transactiontoBitmax {RecAssoRules}R Documentation

Creation of a Binary DataFRame from transactions type

Description

Returns the corresponding Binary R DataFrame. If you imported your transaction as R DataFrame, please use the R function as.matrix(yourdataframe).

Usage

transactiontoBitmax(transac , deli)

Arguments

transac

a character vector or matrix.

deli

The character used to delimit the objects present in a transaction.

Examples


data("Transacfruits")
binaryfruits = transactiontoBitmax (as.matrix(Transacfruits),",")
## Import transaction data Transacfruits and create the correspondant binary matrix.

[Package RecAssoRules version 1.0 Index]