[R] If cycle takes to much time...

2013-01-25 Thread marcoguerzoni
dear all, thank you for reading. I have a dataset of artists and where and when they had an exhibition. I'd like to create an affiliation network in the form of matrix, telling me which aritist have been in the same at the same time. I manage to do it, but given that I have 96000 observation

Re: [R] If cycle takes to much time...

2013-01-25 Thread Gerrit Eichner
Hello, Marco, I am not quite sure if understand correctly what you want, but maybe DF - data.frame( Artist, Begin, End, Istitution) AtSameInst - outer( DF$Istitution, DF$Istitution, ==) Simultaneously - with( DF, outer( Begin, End, =) | outer( End, Begin, =))

Re: [R] If cycle takes to much time...

2013-01-25 Thread Berend Hasselman
On 25-01-2013, at 10:25, marcoguerzoni marco.guerz...@unito.it wrote: dear all, thank you for reading. I have a dataset of artists and where and when they had an exhibition. I'd like to create an affiliation network in the form of matrix, telling me which aritist have been in the same

Re: [R] If cycle takes to much time...

2013-01-25 Thread marco . guerzoni
On 25.01.2013 12:08, Berend Hasselman wrote: On 25-01-2013, at 10:25, marcoguerzoni marco.guerz...@unito.it wrote: dear all, thank you for reading. I have a dataset of artists and where and when they had an exhibition. I'd like to create an affiliation network in the form of matrix,