[R] For loop

Rajasekaramya ramya.victory at gmail.com
Fri Jun 27 22:54:52 CEST 2008


Hi, 

Could you please let me know to use a list in a for loop here geneset is a
loop.I am trying to match the names of the list with 1st row of the output. 

result<- list() 
for(i in 1:length(output) 

{ 
result[[i]] <- geneset(which(geneset %n% output[,1])) 
} 


Kindly help me out 

-- 
View this message in context: http://www.nabble.com/For-loop-tp18163665p18163665.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list