Binarize or Transform Variables into Text Variables

To binarize one or more variables, proceed as follows:

  1. Select single or multiple “Integer” or “Floating point” variables with the mouse.
  2. Click the Transform into binary variable  icon in the toolbar above the Variable List and confirm the query.

Therein the variable will be transformed into type “Boolean”, in which all values different from 0 are set to “false” – including the missing values or defined missing values.

Toolbar at the top left of the Variable List

The Transform into text variable  icon allows you to transform all highlighted (non-text) variables into “Text” type variables.

 

Was this article helpful?