[R] stats::reshape question
Wu Gong
wg2f at mtmail.mtsu.edu
Fri Aug 6 19:55:33 CEST 2010
It seems that we can't change the order of varying argument or v.names.
"Notice that the order of variables in varying is like x.1,y.1,x.2,y.2. "
Code can only be:
reshape(d,varying=c("x1","y1","x2","y2"),v.names=c("x","y"),dir="long")
-----
A R learner.
--
View this message in context: http://r.789695.n4.nabble.com/stats-reshape-question-tp2316583p2316606.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list