[R] problem with lists...

2006-12-05 Thread A.R. Ebrahimi
Hi guys, I am new to R, so sorry if my problem seems trivial. Sometimes I encounter some lists, which I cannot index their components with [ . ] For instance the prcomp() function returns a 'prcomp' object whose components are some 'lists'. the second component is a list that comtains the

[R] problem with chiMerge

2006-11-30 Thread A.R. Ebrahimi
Hi, I am trying to discretize a numeric attribute of a data.frame using chiMerge mydata2-chiMerge(mydata1, c(7), alpha = 0.05) but this command never returns, and I have to forcefully STOP the operation. Is this a bug or am I missing somthing? Can anybody help me. please? Thanks in advance.

[R] from data.frame to transactions

2006-11-30 Thread A.R. Ebrahimi
Hi, I am trying to perform associan rule mining on a dataset I have loaded form a CSV file, but the [apriori] function of [arules] package accepts binaryMatrices or transactions only. Is there any straightforward way through this conversion? Thanks in advance.