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?
Answer Posted / luclyl
proc transpose data=hyd out=mum (drop=_NAME_);
var a b c;
run;
Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
What are symget and symput? : sas-macro
What are the different versions of sas that you have used until now? : sas-grid-administration
what is broad cast agent? : Sas-bi
What is proc sort?
How do dates work in sas?
what versions of sas have you used (on which platforms)? : Sas programming
How do you debug and test your SAS programs?
what is program data vector? : Sas-administrator
what are some differences between proc summary and proc means? : Sas programming
What is Linear Regression?
How we can call macros with in data step? : sas-macro
Differentiate between format and informat? : sas-grid-administration
how can you create zero observation dataset? : Sas programming
Can you execute macro within another macro? : sas-macro
For clinical entire study how many tables will create approx?