| format_rcell | R Documentation | 
rcell objectsThis is a wrapper for formatters::format_value() for use with CellValue objects
format_rcell(
  x,
  format,
  output = c("ascii", "html"),
  na_str = obj_na_str(x) %||% "NA",
  pr_row_format = NULL,
  pr_row_na_str = NULL,
  round_type = c("iec", "sas"),
  shell = FALSE
)
x | 
 (  | 
format | 
 (  | 
output | 
 (  | 
na_str | 
 (  | 
pr_row_format | 
 (  | 
pr_row_na_str | 
 (  | 
round_type | 
 (  | 
shell | 
 (  | 
Formatted text.
cll <- CellValue(pi, format = "xx.xxx")
format_rcell(cll)
# Cell values precedes the row values
cll <- CellValue(pi, format = "xx.xxx")
format_rcell(cll, pr_row_format = "xx.x")
# Similarly for NA values
cll <- CellValue(NA, format = "xx.xxx", format_na_str = "This is THE NA")
format_rcell(cll, pr_row_na_str = "This is NA")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.