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
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
2 matches
Mail list logo