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 | 4e557c2 | 2017-12-19 12:49:48 -0500 | [diff] [blame] | 7 | spec_font_size(x, begin = 8, end = 16, na_font_size = 12, |
Hao Zhu | 8dd65a9 | 2018-01-05 20:40:27 -0500 | [diff] [blame^] | 8 | scale_from = NULL) |
Hao Zhu | 9ce317e | 2017-10-12 18:19:55 -0400 | [diff] [blame] | 9 | } |
| 10 | \arguments{ |
| 11 | \item{x}{continuous vectors of values} |
| 12 | |
| 13 | \item{begin}{Smalles font size to be used. Default is 10.} |
| 14 | |
| 15 | \item{end}{Largest font size. Default is 20.} |
| 16 | |
| 17 | \item{na_font_size}{font size for NA values} |
Hao Zhu | 4e557c2 | 2017-12-19 12:49:48 -0500 | [diff] [blame] | 18 | |
| 19 | \item{scale_from}{input range (vector of length two). If not given, |
| 20 | is calculated from the range of x} |
Hao Zhu | 9ce317e | 2017-10-12 18:19:55 -0400 | [diff] [blame] | 21 | } |
| 22 | \description{ |
| 23 | Generate common font size for continuous values |
| 24 | } |