Displaying 1 result from an estimated 1 matches for "secondstock".
2006 Jul 05
2
apologes if you already saw this :efficiency question
.... I also think that remember someone saying that using the c command to make something bigger is not a good idea.
the code is below. thanks.
for paircounter in 1:nrow(tempdata) {
firsstock<-gsub(" ","",tempdata[paircounter,1]
secondstock<-gsub(" ","",tempdata[paircounter,2]
if ( paircounter == 1 ) {
stocklist<-c(firststock,secondstock)
} else {
stocklist<(stocklist,firststock,secondstock)
}...