m11_to_ab | R Documentation |
Transform values from any interval to [-1, 1] and back
m11_to_ab(z, from = 0, to = 1)
ab_to_m11(x, from = 0, to = 1)
from , to |
the interval(s) to which x values belong. Defaults are from=0,to=1 |
x , z |
vector of values on regular and [-1,1] scale, respectively |
returns values on the other scale
m11_to_ab(c(-0.5, 0, 0.5))
ab_to_m11(c(0.25, 0.5, 0.75))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.