On 01.06.2012 20:08, jasminedawn wrote:> Hi,
>
> I have encounter a problem that my data a_data.frame is of data.frame
class
> with columns: sequenceID, eventID, items.
>
> when I convert it to transaction class:
>
> as(a_data.frame, "transactions")
>
> All columns are grouped together under items, which is like this:
> {sequenceID, eventID, items}
> instead of the right form: sequenceID, eventID, {items}
>
> Also when i read_baskets, there is always an error: Error in
readLines(con)
> : 'con' is not a connection
>
> Can anyone help me with the problem? Thanks very much!
Read the posting guide and provide reproducible examples so that people
can help.
Uwe Ligges
> --
> View this message in context:
http://r.789695.n4.nabble.com/How-to-make-a-transaction-class-data-tp4632114.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.