Re: [R] reversed variables in stats::reshape()

2014-01-30 Thread Doug Morrison
y.1,x.2,y.2." Best, Doug On Fri, Jan 24, 2014 at 1:03 PM, Doug Morrison wrote: > Dear R-Help readers, > > I am writing to ask about some behavior by stats::reshape() that surprised > me. In the example below, I expected the values of variables "R" and "L" in

[R] reversed variables in stats::reshape()

2014-01-24 Thread Doug Morrison
Dear R-Help readers, I am writing to ask about some behavior by stats::reshape() that surprised me. In the example below, I expected the values of variables "R" and "L" in data.frame "test" to be the reverse of what they are - ie I expected that test$R = seq(1:29, by =2) and test$L = seq(2:30, by