14.03.2014 Views

Using JMP - SAS

Using JMP - SAS

Using JMP - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Chapter 6 Reshape Data 193<br />

Join Data Tables<br />

Figure 6.24 Original Tables and the Joined Table<br />

If a column name is the same in the two original tables, the output column name is qualified by the source<br />

table name (For example, the column names in the new table appear as of table name).<br />

To join only specified columns:<br />

Suppose that you do not want all of the columns from the original data tables to be in the joined table.<br />

Proceed as follows:<br />

1. Open the Trial1.jmp and Trial2.jmp sample data tables.<br />

2. From the Trial1.jmp data table, select Tables > Join.<br />

3. In the Join...with box, select Trial2.<br />

4. From the Matching Specification menu, select By Row Number.<br />

5. Click Select columns for joined table to specify the subset of columns that you want to include.<br />

6. In the Source Columns list, select popcorn and yield from the Trial1 list and select yield from the Trial2<br />

list.<br />

Because identical data exists in the popcorn column of both tables, you need to select only one column.<br />

7. Click Select.<br />

8. Click OK.<br />

Figure 6.25 Joining Only Specified Columns

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

Saved successfully!

Ooh no, something went wrong!