14.03.2014 Views

Download Jmp User Guide

Download Jmp User Guide

Download Jmp User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

236 Reshaping Data Chapter 7<br />

Splitting Columns<br />

Figure 7.13 Rename the New Columns for Clarity<br />

Rename the columns,<br />

if you choose.<br />

Splitting a Column: Grouping Rows Example<br />

You can use the Group field in the Split window to reduce the number of rows in the new table as<br />

follows:<br />

1 This example begins with the same Popcorn.jmp data table used in the previous example, “Splitting<br />

a Column: Basic Example,” p. 233. In Figure 7.14, notice that there are only two unique values in<br />

the popcorn column: plain and gourmet. For this example, you want to split the yield column by<br />

the trial column again, but also group all the data for plain popcorn in one row and all the data for<br />

gourmet popcorn in another.<br />

Figure 7.14 Original Data Table before Splitting and Grouping<br />

For this example, the yield column<br />

will be split by the trial column as<br />

before. Grouping by the popcorn<br />

column will reduce the number of<br />

rows in the new table.<br />

2 Select Tables > Split.<br />

3 Drag trial to the Split By field and drag yield to the Split Columns field, and select the Keep All<br />

choice. (To this point, these settings are the same as those in “Splitting a Column: Basic Example,”<br />

p. 233.)<br />

4 Drag the popcorn column to the Group field.<br />

5 Name the output data table Rows grouped by Popcorn column.<br />

Figure 7.15 shows these settings.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!