Hao Zhu | 9ce317e | 2017-10-12 18:19:55 -0400 | [diff] [blame] | 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/spec_tools.R |
| 3 | \name{spec_font_size} |
| 4 | \alias{spec_font_size} |
| 5 | \title{Generate common font size for continuous values} |
| 6 | \usage{ |
Hao Zhu | 9410a27 | 2020-08-03 01:11:47 -0400 | [diff] [blame^] | 7 | spec_font_size(x, begin = 8, end = 16, na_font_size = 12, scale_from = NULL) |
Hao Zhu | 9ce317e | 2017-10-12 18:19:55 -0400 | [diff] [blame] | 8 | } |
| 9 | \arguments{ |
| 10 | \item{x}{continuous vectors of values} |
| 11 | |
| 12 | \item{begin}{Smalles font size to be used. Default is 10.} |
| 13 | |
| 14 | \item{end}{Largest font size. Default is 20.} |
| 15 | |
| 16 | \item{na_font_size}{font size for NA values} |
Hao Zhu | 4e557c2 | 2017-12-19 12:49:48 -0500 | [diff] [blame] | 17 | |
| 18 | \item{scale_from}{input range (vector of length two). If not given, |
| 19 | is calculated from the range of x} |
Hao Zhu | 9ce317e | 2017-10-12 18:19:55 -0400 | [diff] [blame] | 20 | } |
| 21 | \description{ |
| 22 | Generate common font size for continuous values |
| 23 | } |