Description Usage Arguments Examples
An internal function not intended for the user. Turns an arbitrary number into a valid proportion by setting the number equal to the closest value in [0,1].
1 | proportionize(x, zero = 1e-05, one = 0.999)
|
x |
The number to be turned into a proportion. |
zero |
A very small number that is just larger than 0. |
one |
A number that is just smaller than 1. |
1 2 3 | proportionize(-0.03)
proportionize(1.2)
proportionize(.63)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.