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 |
how does sas handle missing values in an update? : Sas programming
What commands are used in the case of including or excluding any specific variables in the data set?
To what type of programms have you used scratch macros?
What is the order of application for output data set options, input data set options and SAS statements?
Mention what is SAS data set?
How is character variable converted into numeric variable and vice versa?
what is washout period?
What is SAS? is it a software just for use or we can creat something over there?
What makes sas stand out to be the best over other data analytics tools?
Mention the difference between ceil and floor functions in sas?
What is highest missing value for numeric?
what is change analysis in sas di ? : Sas-di