14.03.2014 Views

Download Jmp User Guide

Download Jmp User Guide

Download Jmp User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 7 Reshaping Data 249<br />

Joining Data Tables<br />

Note that if a column name is the same in the two original tables, the output column name is qualified<br />

by the source table name. For example, the column names in the new table are “variable name of table<br />

name.”<br />

Joining Only Specified Columns<br />

As a second example using the same data tables as the previous example, suppose you don’t want all<br />

columns from the original data tables to be in the joined table. You only want popcorn and yield from<br />

Trial1 list and yield from the Trial2 to be in the joined table.<br />

1 Select Tables > Join.<br />

2 Select Trial2 in the Join...With box.<br />

3 Click Select columns for joined table in the Output Columns area to specify the subset of<br />

columns you want.<br />

4 Select all the columns you want from both tables in the Source Columns list and click Select. In<br />

this example, select popcorn and yield from Trial1 list and yield from the Trial2 list. The box in the<br />

Output Columns area lists the columns you want in the new table. The tables Trial1 and Trial2<br />

(Figure 7.31) have identical data in the popcorn column, so only one of them is needed in the<br />

joined table.<br />

5 Click OK.<br />

The new table has only the selected columns, as shown in Figure 7.31.<br />

Figure 7.31 Joining Only Specified Columns<br />

7 Reshaping Data

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

Saved successfully!

Ooh no, something went wrong!