Description Usage Arguments Details Value
View source: R/format_values.R
maps all instances in x
to the [0;1] range using the equation:
y = (x-min)/(max-min)
If no values for min and max are given, they are calculated per default as min=min(x) and max=max(x)
1 |
x |
vector of predictions |
min |
minimum of |
max |
maximum of |
if x
is greater (smaller) than max
(min
), its calibrated prediction is set to 1 (0) and warning is triggered.
scaled values of x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.