Re: [R] Problem creation tensor

2012-07-30 Thread Petr Savicky
On Mon, Jul 30, 2012 at 04:11:40AM -0700, GiuseppeRicci wrote: > Hi, > > thank Petr for your help. > I have implemented you code suggestion but there is another problem. > It seems that the code: > > for (i in 1:m){ > Z[i,,]=table(occ, data_matrix[,i]) > } > > don't charge any values in Z. > Is

Re: [R] Problem creation tensor

2012-07-30 Thread GiuseppeRicci
Hi, thank Petr for your help. I have implemented you code suggestion but there is another problem. It seems that the code: for (i in 1:m){ Z[i,,]=table(occ, data_matrix[,i]) } don't charge any values in Z. Is there some error? Thanks. Giuseppe -- View this message in context: http://r.78969

Re: [R] Problem creation tensor

2012-07-18 Thread GMailPegasus
what is the problem? gr -Messaggio originale- From: Kjetil Halvorsen Sent: Wednesday, July 18, 2012 1:01 AM To: Peppe Ricci Cc: r-help@r-project.org Subject: Re: [R] Problem creation tensor Amusing that someone named RICCI is asking about tensors (sorry!) Kjetil On Tue, Jul 17

Re: [R] Problem creation tensor

2012-07-18 Thread Petr Savicky
On Wed, Jul 18, 2012 at 11:38:59AM +0200, Petr Savicky wrote: > On Tue, Jul 17, 2012 at 12:31:38PM +0200, Peppe Ricci wrote: > > Hi guys, > > > > I need some help to analyzing my data. > > I start to describe my data: I have 21 matrices, every matrix on the > > rows has users and on columns has it

Re: [R] Problem creation tensor

2012-07-18 Thread Petr Savicky
On Tue, Jul 17, 2012 at 12:31:38PM +0200, Peppe Ricci wrote: > Hi guys, > > I need some help to analyzing my data. > I start to describe my data: I have 21 matrices, every matrix on the > rows has users and on columns has items, in my case films. > Element of index (i, j) represent the rating expr

Re: [R] Problem creation tensor

2012-07-17 Thread Kjetil Halvorsen
Amusing that someone named RICCI is asking about tensors (sorry!) Kjetil On Tue, Jul 17, 2012 at 6:31 AM, Peppe Ricci wrote: > Hi guys, > > I need some help to analyzing my data. > I start to describe my data: I have 21 matrices, every matrix on the > rows has users and on columns has items