scale_fontsize | R Documentation |
Scale font size
scale_fontsize(x, rg = c(1, 30), fs = c(4, 16))
x |
A numeric vector. |
rg |
The range. |
fs |
Range of the font size. |
It is a linear interpolation.
A numeric vector.
x = runif(10, min = 1, max = 20)
# scale x to fontsize 4 to 16.
scale_fontsize(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.