search for: tr_basket

Displaying 1 result from an estimated 1 matches for "tr_basket".

2008 Sep 03
0
How to read-in a transaction-table with single items per line via RODBC?
...ollowing error Error: invalid class "ngCMatrix" object: slot i is not *strictly* increasing inside a column. After reading the R source of read.transactions I wrote the below function transactionsFromSingleItems, which seems to work. The problem seemed to be that the items of the list tr_basket are not atomic. That's why I used the following ugly construct: tr_basket = as.list(sapply(tr_basket, as.character)) as a newbee that I am. But I think there must be an easier and more elegant way. Can anybody provide a better version? May be I missed a method of arules for this? How to mak...