Re: [R] Simplifying matrix computation

2014-01-29 Thread Carlo Giovanni Camarda
Dear David, and R-users, thanks for the response. I'll do my best to describe the context. My data consists in two matrices, D and T. The former provides simple values, the latter is a Boolean matrix. The number of rows in D is equal to the number of columns in T. My aim is to construct a larg

Re: [R] Simplifying matrix computation

2014-01-28 Thread David Winsemius
On Jan 27, 2014, at 8:04 AM, Carlo Giovanni Camarda wrote: > Dear R-users, > > I would like to know whether you know some trick for skipping some of > the steps in the example below (especially the last step in a way that > would make easier to be written succinctly in a text). > > I could tr

[R] Simplifying matrix computation

2014-01-27 Thread Carlo Giovanni Camarda
Dear R-users, I would like to know whether you know some trick for skipping some of the steps in the example below (especially the last step in a way that would make easier to be written succinctly in a text). I could try to explain in words the whole process, but I'm sure the code below would