how to shift the rows to cols?
eg:
i have like
field1 field2 field3
10 20 20
this should be displayed as
field1 10
field2 20
field3 30
(without the obs col)
how do this?can i use transpose or tell me suitable way to
do this?
Answers were Sorted based on User's Feedback
Answer / luclyl
proc transpose data=hyd out=mum (drop=_NAME_);
var a b c;
run;
| Is This Answer Correct ? | 7 Yes | 2 No |
Answer / haritha
by using proc transpose procedure
ur data should be like this
data hyd;
input a$ b$ c$;
datalines;
field1 field2 field3
10 20 30
;
run;
solution will be like this:
proc tranpose data=hyd out=mum;
var a b c;
run;
proc print data=mum noobs;
run;
| Is This Answer Correct ? | 5 Yes | 2 No |
What are the different versions of sas that you have used until now? : sas-grid-administration
what is portability of sas programmes?
What are the advantages of using sas?
what are the considerations when picking a SAS/STAT procedure?
0 Answers Accenture, Quintiles,
What is the difference between the proc sql and data step?
Do you know the features of sas?
What are the features of base sas system?
How would you identify a macro variable?
what is the difference between DUPKEY and NODUPKEY???
What are the limitations for memory allocation for SAS variables
What is run-group processing?
how do we get duplicate observations in a separate dataset?