next up previous contents
Next: Slice Up: Tensor operations Previous: Meld   Contents

Merge

\includegraphics[height=10mm]{images/merge}% WIDTH=48 HEIGHT=45

The operator can be placed on the canvas in two ways:

Merge combines two Ravels sharing n dimensions to produce a new Ravel with n+1 dimensions.

For example, the file below creates two 2-dimensional Ravels, one with sales in dollars and the other with sales by each salesperson as a percentage of total sales.

\includegraphics[width=\textwidth]{images/MergeExample01TwoVariables}% WIDTH=527 HEIGHT=235

SalesSalesPerson$and SalesPerson%share the same dimensions (SalesPerson and Date), and they can be separately displayed as in the next figure.

\includegraphics[width=\textwidth]{images/MergeExample02TwoVariablesSeparate}% WIDTH=527 HEIGHT=561

Using the Merge operator, you can create one new Ravel containing information from both the $ sales and the % of total sales analysis:

\includegraphics[width=\textwidth]{images/MergeExample02TwoVariablesEditForm}% WIDTH=527 HEIGHT=278

The merged Ravel has 3 dimensions, with the extra dimension Analysis now containing the Sales by dollar amount and Sales as a percentage of total sales as entries on the Analysis axis.

\includegraphics[width=\textwidth]{images/MergeExample03TwoVariablesMerged}% WIDTH=527 HEIGHT=188