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.

186 Reshape Data Chapter 6<br />

Concatenate Data Tables<br />

2. Highlight the names of the data tables that you would like to combine, and click Add.<br />

You can concatenate as many data tables as you choose, and you can also add the same data tables<br />

multiple times. The number of rows in the new data tables is the sum of the number of rows in all the<br />

data tables.<br />

3. (Optional) Click the Save and evaluate formulas choice to request that <strong>JMP</strong> include all formulas.<br />

If you do not select this option, no formulas are included in the new data table.<br />

Note: If columns with the same name have different formulas, then the formula from the first data table is<br />

saved in the concatenated data table.<br />

4. (Optional) Click the Create source column choice to add a column called Source Table to the new<br />

data table.<br />

This column identifies the name of the source data table in the corresponding rows.<br />

5. (Optional) Select the Append to first table choice to append rows to the data table listed first in the<br />

Data Tables to be Concatenated field instead of creating a new data table.<br />

6. (Optional) Type a name for the new data table in the Output table name field.<br />

If you do not type a name, <strong>JMP</strong> names the data table Untitledx (for example, Untitled1). The Output<br />

table name field is not available if you selected the Append to first table choice.<br />

7. Click OK.<br />

Example of Concatenating Data Tables<br />

Suppose you want to concatenate two data tables (Trial1 and Trial2) into a new data table.<br />

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

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

3. In the Opened Data Table list, select Trial2 and click Add.<br />

4. Click OK.<br />

The data tables combine into a new concatenated table with all of the rows from the first data table followed<br />

by all of the rows from the second data table. See Figure 6.20.

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

Saved successfully!

Ooh no, something went wrong!