In the Popcorn.jmp data table, the data in the trial column shows that there are two trials, 1 and 2. In this example, split the yield column into two new columns: one for trial 1 and one for trial 2. Proceed as follows:
1.
Select Help > Sample Data Library and open Popcorn.jmp.
2.
Select Tables > Split.
3.
Select the yield column and click Split Columns.
4.
Select the trial column and click Split By.
5.
Under Remaining columns, select Keep All.
6.
(Optional) Type Yield column split by Trial column in the Output table name field.
7.
The yield and trial columns are gone.
The values from the original yield column are now split into the new columns named 1 and 2.
The columns other than trial and yield are exactly the same as they were in the original table.
Figure 5.13 New Table Created By Splitting yield Column by trial Column
The Drug Measurements.jmp sample data table contains measurements of three different drugs (a, b, and c) administered to 12 different subjects. You want to split the measurement into different columns, one for each drug type. You also want to group the measurements by subject.
1.
Select Help > Sample Data Library and open Drug Measurements.jmp.
2.
Select Tables > Split.
3.
Select Drug Type and click Split By.
4.
Select Measurement and click Split Columns.
Notice that the Subject variable contains unequal groups. Most of the subjects were given all three drugs, but subject 2 was given only one drug, and subjects 7 and 12 were given only two drugs. In this situation, to ensure that the correct measurements are associated with the correct subject, specify Subject as the Group variable.
5.
Select Subject and click Group.
6.
Figure 5.14 Drug Measurements.jmp Split by a Grouping Variable

Help created on 7/12/2018