Description Usage Arguments Value Examples
This standardizes a vector of numbers. Standardization rescales the original data into a range between a and b which are given as parameters. They are 0 and 1 respectively by default.
1 | standardize(x, a = 0, b = 1)
|
x |
the vector of numbers to standardize |
a |
the lower limit of the wanted scale |
b |
the upper limit of the wanted scale |
the rescaled vector of numbers
1 | standardize(rnorm(10, 20, 10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.