> For the complete documentation index, see [llms.txt](https://hwasumok.gitbook.io/r-flow/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hwasumok.gitbook.io/r-flow/r/data-preprocess/data-scaler.md).

# Data Scaler

MinMax Scaler/Standard Scaler/Transform Scaling

## MinMax Scaler/Standard Scaler

### Input Data

|                 | Input                                                                                                                                     |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| **Target Data** | Input data                                                                                                                                |
| **Output Name** | Name of the output after scaling                                                                                                          |
| **Scaler Info** | <p>Description of the work. </p><p>You can write any words but they should not include spaces.</p>                                        |
| **X**           | <p>Columns to be scaled. Only numeric or integer types can be scaled. </p><p>Drag the variables from the table and drop them under X.</p> |

![\[Task information of Data Scaler\]](https://3929524962-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MGaxNdSdRN_L_WNiX4I%2F-MHrK91uqKY5DtqH9tsI%2F-MHrTsDucTmq89lu5HHJ%2Fimage.png?alt=media\&token=801845d6-7c9e-47d9-9122-867d886231c6)

## Transform Scaling&#x20;

### Input Data

| **Target Data**  | Input data                                                    |
| ---------------- | ------------------------------------------------------------- |
| **Target Data**  | Name of the Input Data                                        |
| **Output Name**  | Name of the scaled data (fill it out at your discretion)      |
| **Scaler Info.** | Scaler Info. of the scaler list to be used for transformation |

![\[Task Information of Transform Scaling\]](https://3929524962-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MGaxNdSdRN_L_WNiX4I%2F-MLa_aq7v4v07Co8gC6z%2F-MLahMgyYao3xOV8S9gQ%2Fimage.png?alt=media\&token=60b10c4d-b26e-405c-8adb-5cb793884de6)

### How to Use

1. Use MinMax/Standard Scaler to generate 'Scaler Info' in a list type.&#x20;
2. Use the Scaler Info. at step 1 to be the Scaler Info in Transform Scaling Task.

## Workflow Example

[R-Flow Task Example Video - Transform Scaling](https://www.youtube.com/watch?v=i14Ek9Y0glc)

![](https://3929524962-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MGaxNdSdRN_L_WNiX4I%2F-MLaiNooKQzrWJiV-F7p%2F-MLajAe3caCnSNSBW5gM%2Fimage.png?alt=media\&token=3b7a88d3-f4c8-40a0-9e4c-ba9272a50bf4)

## R Package

**MinMax Scaler, Standard Scaler, Transform Scaling:** <https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/scale>
