f_square | R Documentation |
Map a continuous variable to 3 discrete levels
f_square(x, i, o, scale = FALSE)
x |
numeric vector for input values |
i |
numeric vector of length 2 for breaks |
o |
numeric vector of length 3 for output values |
scale |
Boolean, if TRUE x input values are scaled (scales::rescale) |
a numeric vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.