Generate common font size for continuous values
1 | spec_font_size(x, begin = 8, end = 16, na_font_size = 12, scale_from = NULL)
|
x |
continuous vectors of values |
begin |
Smalles font size to be used. Default is 10. |
end |
Largest font size. Default is 20. |
na_font_size |
font size for NA values |
scale_from |
input range (vector of length two). If not given, is calculated from the range of x |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.