Hao Zhu | 79f1e2a | 2017-06-11 20:55:30 -0400 | [diff] [blame] | 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/row_spec.R |
| 3 | \name{row_spec} |
| 4 | \alias{row_spec} |
| 5 | \title{Specify the look of the selected row} |
| 6 | \usage{ |
| 7 | row_spec(kable_input, row, bold = FALSE, italic = FALSE) |
| 8 | } |
| 9 | \arguments{ |
| 10 | \item{kable_input}{Output of `knitr::kable()` with `format` specified} |
| 11 | |
Hao Zhu | 2a87e8e | 2017-06-14 15:49:33 -0400 | [diff] [blame^] | 12 | \item{row}{A numeric value indicating which row to be selected. You don't |
| 13 | need to count in header rows or group labeling rows.} |
Hao Zhu | 79f1e2a | 2017-06-11 20:55:30 -0400 | [diff] [blame] | 14 | |
| 15 | \item{bold}{A T/F value to control whether the text of the selected row |
| 16 | need to be bolded.} |
| 17 | |
| 18 | \item{italic}{A T/F value to control whether the text of the selected row |
| 19 | need to be emphasized.} |
| 20 | } |
| 21 | \description{ |
| 22 | This function allows users to select a row and then specify |
| 23 | its look. Right now it supports the following two properties: bold text and |
| 24 | italic text. |
| 25 | } |
| 26 | \examples{ |
| 27 | x <- knitr::kable(head(mtcars), "html") |
| 28 | row_spec(x, 1, bold = TRUE, italic = TRUE) |
| 29 | |
| 30 | } |