Re: [R] Yet another set of codes to optimize

2008-12-17 Thread William Dunlap
> [R] Yet another set of codes to optimize > Daren Tan daren76 at hotmail.com > Fri Dec 5 03:41:23 CET 2008 > > I have problems converting my dataset from long to wide format. Previous > attempts using reshape package and aggregate function were unsuccessful > as they took too

[R] Yet another set of codes to optimize

2008-12-04 Thread Daren Tan
I have problems converting my dataset from long to wide format. Previous attempts using reshape package and aggregate function were unsuccessful as they took too long. Apparently, my simplified solution also lasted as long. My complete codes is given below. When sample.size = 1, the execu