Re: [R] problem accessing complex list data frames

2010-12-08 Thread Germán Sanchis
Thanks Nick! That's exactly what I wanted! The surrouding with a which was not exactly what I wanted, but which(apply(sapply(vmat, function(currMat){ currMat[,999] != 0 }),2,any)) did do the trick. Thank you very much!! Cheers, Germán 2010/12/8 Nick Sabbe > Hello Germán. > > You probab

Re: [R] problem accessing complex list data frames

2010-12-08 Thread Nick Sabbe
Hello Germán. You probably want something like: sapply(vmat, function(curMat){ curMat[,999] != 0 }) Or if you want the indices, just surround this with a which. HTH. Nick Sabbe -- ping: nick.sa...@ugent.be link: http://biomath.ugent.be wink: A1.056, Coupure Links 653, 900