9) Create a Range Normalisation for a Value.

This Blog entry is from the Summary Statistics Plots section in Learn R.

A useful normalisation is to appraise a value against a scale from the smallest to the largest value.  The formula for range normalisation, taking the value 201 to be test, is (201 – min) / (max – min) where the minimum and maximum values as calculated in previous Blog entries.  To test where the value 201 exists on a scale between the minimum and maximum value:

1.png

Run the line of script to console:

2.png

The output shows that the test value of 201 exists at a point of 23% between the minimum and maximum value observed in the vector.