search for: jnow

Displaying 1 result from an estimated 1 matches for "jnow".

Did you mean: jnew
2003 Jun 02
1
data.frame building
...a loop. I know a while back Prof. Ripley has suggested to construct a data frame of the right size outside the loop and fill it within the loop. unfortunately, it is taken so long (this is on P4 2.4 G 489M RAM). I am wondering if there was any other way that is faster to do this job. I also do not jnow why it is faster to construct columns in a data.frame than it is to do rows. i.e. I had to construct 719 columns and it does not take any time to do so (each) however if I say data[i,]<-data2[j,] it takes so long versus data$temp<-data$a==data$b for example. any help is greatly appreciated...