l*****k 发帖数: 587 | 1 An issue that must have an elegant and simply solution.
I am trying to use transpose on a dataset, however how do
I specify all the variables?
if the are named col1, col1, etc, it is ok to use: var col1-col99
however what if they have random names, I have been trying to export
the data to excel, copy the header(variable name), then paste it back
to sas like
proc transpose data=original out=out;
var test1 result2 test2 result2........;
run;
is there a way to do this without specifying all | r********e 发帖数: 1686 | 2 instead of using single tab-,using double tab --
eg. var1--result9 | l*****k 发帖数: 587 | 3 thanks, will give it a try
【在 r********e 的大作中提到】 : instead of using single tab-,using double tab -- : eg. var1--result9
| n***p 发帖数: 508 | 4 I thought you can use _all_ in the var statement. | l*****k 发帖数: 587 | 5 Thanks, will give a try...
【在 n***p 的大作中提到】 : I thought you can use _all_ in the var statement.
| f*****a 发帖数: 693 | 6 mark.
【在 l*****k 的大作中提到】 : An issue that must have an elegant and simply solution. : I am trying to use transpose on a dataset, however how do : I specify all the variables? : if the are named col1, col1, etc, it is ok to use: var col1-col99 : however what if they have random names, I have been trying to export : the data to excel, copy the header(variable name), then paste it back : to sas like : proc transpose data=original out=out; : var test1 result2 test2 result2........; : run;
|
|