get_formatted_cells | R Documentation |
Get formatted cells
get_formatted_cells(obj, shell = FALSE)
## S4 method for signature 'TableTree'
get_formatted_cells(obj, shell = FALSE)
## S4 method for signature 'ElementaryTable'
get_formatted_cells(obj, shell = FALSE)
## S4 method for signature 'TableRow'
get_formatted_cells(obj, shell = FALSE)
## S4 method for signature 'LabelRow'
get_formatted_cells(obj, shell = FALSE)
get_cell_aligns(obj)
## S4 method for signature 'TableTree'
get_cell_aligns(obj)
## S4 method for signature 'ElementaryTable'
get_cell_aligns(obj)
## S4 method for signature 'TableRow'
get_cell_aligns(obj)
## S4 method for signature 'LabelRow'
get_cell_aligns(obj)
obj |
( |
shell |
( |
The formatted print-strings for all (body) cells in obj
.
library(dplyr)
iris2 <- iris %>%
group_by(Species) %>%
mutate(group = as.factor(rep_len(c("a", "b"), length.out = n()))) %>%
ungroup()
tbl <- basic_table() %>%
split_cols_by("Species") %>%
split_cols_by("group") %>%
analyze(c("Sepal.Length", "Petal.Width"), afun = list_wrap_x(summary), format = "xx.xx") %>%
build_table(iris2)
get_formatted_cells(tbl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.