search for: fullaggfxdata

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

2006 Dec 08
2
any way to make the code more efficient ?
...time, a zoo object with 1400 rows and 4 columns gets created. ( the rows represent minutes so each file is one day worth of data). Inside the loop, I keep rbinding the newly created zoo object to the current zoo object so that it gets bigger and bigger over time. Eventually, the new zoo object, fullaggfxdata, containing all the days of data is created. I was just wondering if there is a more efficient way of doing this. I do know the number of times the loop will be done at the beginning so maybe creating the a matrix or data frame at the beginning and putting the daily ones in something like that wo...