Make cell text bold or italic
bold(ht)
bold(ht) <- value
set_bold(ht, row, col, value = TRUE)
map_bold(ht, row, col, fn)italic(ht)
italic(ht) <- value
set_italic(ht, row, col, value = TRUE)
map_italic(ht, row, col, fn)
bold()
returns the bold
property.
set_bold()
returns the modified huxtable.
A huxtable.
A row specifier. See rowspecs for details.
An optional column specifier.
A mapping function. See mapping-functions for details.
A logical vector or matrix.
Set to NA
to reset to the default, which is FALSE
.
Other formatting functions:
background_color()
,
font_size()
,
font()
,
na_string()
,
number_format()
,
text_color()
bold(jams) <- TRUE
bold(jams)
set_bold(jams, FALSE)
set_bold(jams,
2:3, 1, FALSE)
map_bold(jams,
by_rows(FALSE, TRUE))
Run the code above in your browser using DataLab