The flextable package facilitates access to and manipulation of tabular reporting elements from R.
The documentation of functions can be opened with command help(package = "flextable")
.
To learn more about flextable, start with the vignettes:
browseVignettes(package = "flextable")
.
flextable()
function is producing flexible tables where each cell
can contain several chunks of text with their own set of formatting
properties (bold, font color, etc.). Function display
lets customise
text of cells.
regulartable()
function has been written because the first one is
ressource consumming. The main difference is that it is producing tables
where cells can contain only one chunk of text with its own set of formatting
properties. Function set_formatter
is customizing text of cells.
regulartable is to be used in most of cases.
These two type of table DO NOT ACCEPT new lines in text.
https://davidgohel.github.io/flextable/, regulartable
,
flextable