## Introduction

This article describes how to transform the data for each selected variable set and create a new R variable set that contains the transformed data after scaling the values for each case so that the data values all lie between 0 and 1. Consider the data below:

For each row in the data, the QScript will subtract the minimum of the row from each entry and then divide by the range (the maximum value minus the minimum value) or the row to yield the following:

## Requirements

- A Displayr document containing
**Nominal - Multi: Grid with unordered categories**or**Ordinal - Multi: Grid with ordered categories**.

## Method

To use this transformation:

- Select one or more variable sets in the
**Data Sets**tree. - Still in the
**Data Sets**tree, hover where you want to insert the new variable, then click the**+**button to select**Ready-Made new Variables > Scale Variable(s) >****Unit Interval Within Case**. - OPTIONAL: If your document contains more than one data file you will be prompted to select the data file. Click
**OK**. - Next, you will be asked to select the variable sets you want to transform, click
**OK**. - For each selected variable set, a new R variable is created.

## See Also

Scale Variable(s) to Unit Interval Within Variable

## Comments

0 comments

Article is closed for comments.