Introduction
Sometimes it is necessary for multiple categories in a variable to share a common, or unit, range.
Requirements
A data set with a variable that has more than one category.
Please note these steps require a Displayr license.
Method
The simplest way of creating a unit range is to:
- Go to the Data Sources tree.
- Select the variables you want to recode.
- In the Object Inspector on the right, click Data > DATA VALUES > Values to edit the Value Attributes.
- Manually recode the Value of each category such that they have a common range.
- Press OK to save the changes.
Note: When variables take many values, it is generally easier to construct new variables, often using JavaScript.
Next
How to Use JavaScript in Displayr
How to Scale Variable(s) to Standardize Within Case