View source: R/merge_flextable.R
merge_at | R Documentation |
Merge flextable cells into a single one. All rows and columns must be consecutive.
merge_at(x, i = NULL, j = NULL, part = "body")
x |
|
i , j |
columns and rows to merge |
part |
partname of the table where merge has to be done. |
Other flextable merging function:
merge_h()
,
merge_h_range()
,
merge_none()
,
merge_v()
ft_merge <- flextable(head(mtcars), cwidth = .5)
ft_merge <- merge_at(ft_merge, i = 1:2, j = 1:2)
ft_merge
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.