Note: Columns that you want to transpose must have the same data type. Also, if columns contain value labels, transposing uses the actual data values, not the value labels. (See Value Labels in The Column Info Window.)
2.
|
Select Tables > Transpose.
|
3.
|
Highlight the column name(s) you want to transpose in the Select Columns box on the left.
|
4.
|
Click Transpose Columns.
|
5.
|
6.
|
Click OK.
|
To transpose only rows that are currently highlighted in the active table, click the box beside Transpose selected rows only.
|
|||||
(Optional) To name the subset table, type a name in the box beside Output table name.
|
|||||
(Applicable only if you have specified a Label column.) Specify an alternative name for the Label column. Otherwise, the default column name is Label.
|
|||||
The default column name is Label. You can specify an alternative name for the column using the Label column name option. Only one column is created for each distinct value in the label column. Therefore, if there are duplicate values in the label column, JMP creates only one column for the duplicated value using the value from the last duplicated row.
|
|||||
|
Rules for Transposing describes the rules that apply to transposing.
JMP automatically inserts the label column into the Label box when the window appears. You can remove this column if you do not want it to appear.
|
|
The column names in the transposed table are Row 1, Row 2, …, Row n where n is the number of rows in the original table.
|
This section contains three examples: a simple example of transposing, an example using the Label option, and an example using a By group.
1.
|
Open the Materials1.jmp sample data table.
|
2.
|
Select Tables > Transpose.
|
3.
|
4.
|
Click OK.
|
The original table in Simple Transposed Table has two rows and three continuous columns called plastic, tin, and gold. The transposed table has a row for each of the three columns in the original table, and columns named Row 1 and Row 2 for the original table’s rows. The additional column called Label has the column names (plastic, tin, and gold) from the original table as values.
1.
|
Open the Materials2.jmp sample data table.
|
2.
|
Select Tables > Transpose.
|
3.
|
4.
|
5.
|
Click OK.
|
The values from the item column in the original table are used as column labels in the transposed table.
1.
|
Open the Animals Subset.jmp sample data table.
|
2.
|
Select Tables > Transpose.
|
3.
|
4.
|
5.
|
6.
|
Click OK.
|