?do.call

do.call(cc,"cbind")

Hope it helps

Eryk



*********** REPLY SEPARATOR  ***********

On 8/27/2004 at 2:11 PM Luis Rideau Cruz wrote:

>>>R-help,
>>>
>>>In the following loop :
>>>
>>>for(i in 1:8)
>>>{
>>>cc[[i]]<-tapply(test[,i+6],list(puntar=test$puntar),sum)/tapply(test[,5],list(puntar=test$puntar),sum)
>>>
>>>cbind.data.frame(cc[[1]],cc[[2]],cc[[3]],cc[[4]],
>>>cc[[5]],c[[6]],cc[[7]],cc[[8]])
>>>
>>>}
>>>
>>>Is there anyway I can 'cbind.data.frame' the objects cc[[ i ]] without
>>>actually writing every single element??
>>>In this case there are 8 but what if it is a large number??
>>>
>>>
>>>Thank you
>>>
>>>______________________________________________
>>>[EMAIL PROTECTED] mailing list
>>>https://stat.ethz.ch/mailman/listinfo/r-help
>>>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html



Dipl. bio-chem. Eryk Witold Wolski    @    MPI-Moleculare Genetic   
Ihnestrasse 63-73 14195 Berlin       'v'    
tel: 0049-30-83875219               /   \    
mail: [EMAIL PROTECTED]        ---W-W----    http://www.molgen.mpg.de/~wolski

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to