Subset
See Also
Forms a vector containing a subset of the values from another vector. You can form a subset for either a variate, factor or text. The subset is defined by a logical condition, which is specified by the matching conditions where units with the value TRUE (neither zero nor missing value) for the condition are included in the subset, others are omitted.

Available Data

This lists variates, factors and texts which are available to form a subset from. Double-click on a name to copy it to the current input field; alternatively, you can type in the name directly.

Data to Subset

Provides a space for you to specify the name of the data that you want to create a subset from. You can either type the name in directly or double-click a name from the Available Data list.

Name of Subset

Provides a space for you to specify the name for the new subset of data. You can either type the name in directly or double-click a name from the Available Data list. Note: If a name is copied from the Available Data list it will be overwritten.

Matching Condition

Provides you with a space to enter the logical condition that you want to use to subset your data. You can use either just the first box or both boxes to specify the logical condition. If you use both of the boxes the two logical conditions are combined using either And or Or.

Comparisons

This lists the available comparisons, which can be used to create the subset. Double-click on the name of the comparison that you want to use and the comparison operator symbol will be inserted into the matching condition.

Create Expression

Allows you to create an expression to be inserted into the matching condition.

See Also