RE:[R] reshape direction=wide

2004-02-19 Thread Hanke, Alex
v.names=c(var1,var2) creates a separate column for each combination of variables in v.names and level of variable identified by timevar. I am reshaping a data.frame bids -- reshaped as shown below. I thought this should be possible with a single invocation of reshape, but the only way I came

RE:[R] reshape direction=wide

2004-02-19 Thread Thomas Lumley
On Thu, 19 Feb 2004, Hanke, Alex wrote: v.names=c(var1,var2) creates a separate column for each combination of variables in v.names and level of variable identified by timevar. yes, but that's not what he actually wants. He needs to create a new id variable that combines ID and BID first