Stack Variables
This node stacks the input datasource using the stacking variables specified. The following example illustrates the stacking process: H1 H2 A B C 1 2 3 5 6 7 8 9 10 Stacking this data, selecting variables A, B, and C (setting Omit missing to 'False') would produce: H1 H2 Value Code 1 2 3 A 1 2 B 1 2 5 C 6 7 8 A 6 7 9 B 6 7 10 C
General
Element Name | Description |
---|---|
Destination variable name | Variable name to use for the destination variable. If this is omitted, 'Value' will be used. |
Code variable name | Variable name to use for the variable created that contains the original variable name for the selected case. If this is omitted, 'Code' will be used. |
Code variable as text | If 'True', the code variable specified by the 'Code variable name' will be created as type text. If 'False', this field will be created as type double, with text labels associated to the created codes. |
Omit missing | If 'True', any of the selected variables that contain missing data will be stripped from the resulting dataset. If 'False', a case will be added that contains missing data. |
Use selection conditions | Determines if the input datasource selection conditions are applied in the stacking of the data. |
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.