scale_to_prob | R Documentation |
Scales a vector from 1-priori_delta to priori_delta
scale_to_prob(x, priori_delta = PRIORI_DELTA)
x |
vector of numbers |
priori_delta |
how much to compress the 0->1 scale range default PRIORI_DELTA |
returns a vector
scale_to_prob(c(10,9,7,5,34,2,1,0,-1), priori_delta = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.