14.03.2014 Views

Using JMP - SAS

Using JMP - SAS

Using JMP - SAS

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.

188 Reshape Data Chapter 6<br />

Join Data Tables<br />

Figure 6.21 Data and Variables Concatenated<br />

The data and the variables are concatenated. The variables appear as columns in the concatenated table. The<br />

notes from each data table are added to the new data table as table variables.<br />

Join Data Tables<br />

You can combine two data tables into one new table by selecting Tables > Join. Tables can be joined in<br />

three different ways:<br />

• By combining them according to row number. See “To join two data tables into a new data table:” on<br />

page 188 and “Example of Joining by Row Number” on page 192.<br />

• In a Cartesian fashion, where you form a new table consisting of all possible combinations of the rows<br />

from two original tables. See “To join two data tables into a new data table:” on page 188 and “Examples<br />

of a Cartesian Join” on page 194.<br />

• By matching the values in one or more columns that exist in both data tables. See “To join two data<br />

tables into a new data table:” on page 188 and “Example of Joining by Matching Columns” on page 195.<br />

To join two data tables into a new data table:<br />

1. Open the two data tables that you want to join.<br />

2. Select Tables > Join.<br />

In the window that appears, the names of all open tables appear below Join...with, as shown in<br />

Figure 6.22.

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

Saved successfully!

Ooh no, something went wrong!