Example: Transposing the Data in the CLASS Data Set
-
In the
Tasks section,
expand the
Data folder, and then double-click
Transpose
Data. The user interface for the Transpose Data task
opens.
-
On the
Data tab,
select
SASHELP.CLASS as the input data set.
-
To the
Variables
to transpose role, assign the
Age,
Height,
and
Weight variables.
-
Under the
Output
Data Set heading, select the
Show output
data check box.
-
On the
Options tab,
complete these steps:
-
Clear the
Use
prefix check box.
-
Select the
Select
a variable that contains the names of the new variables check
box.
-
To the
New
column names role, assign the
Name variable.
-
To run the task, click
.
Copyright © SAS Institute Inc. All rights reserved.