是啊
帮助里面的例子很容易看懂额的
Before using reshape, you need to determine whether the data are in long or wide form. You also
must determine the logical observation (i) and the subobservation (j) by which to organize the
data. Suppose that you had the following data, which could be organized in wide or long form as
follows:
(wide form)
i ....... x_ij ........
id sex inc80 inc81 inc82
-------------------------------
1 0 5000 5500 6000
2 1 2000 2200 3300
3 0 3000 2000 1000