powered by
NA values in the huxtable are printed as the value of na_string.
na_string
na_string(ht)na_string(ht) <- valueset_na_string(ht, row, col, value)map_na_string(ht, row, col, fn)
na_string(ht) <- value
set_na_string(ht, row, col, value)
map_na_string(ht, row, col, fn)
A huxtable.
A character vector or matrix. Set to NA to reset to the default, which is "".
NA
""
A row specifier. See rowspecs for details.
An optional column specifier.
A mapping function. See mapping-functions for details.
Other formatting functions: background_color(), bold(), font(), font_size(), number_format(), text_color()
background_color()
bold()
font()
font_size()
number_format()
text_color()
jams[3, 2] <- NA jams set_na_string(jams, "---")
Run the code above in your browser using DataLab