Function used to render flextable in knitr/rmarkdown documents. HTML, Word and PowerPoint outputs are supported.
Function htmltools_value
return an HTML version of the flextable,
this function is to be used within Shiny applications with renderUI()
.
# S3 method for flextable
knit_print(x, ...)
a flextable
object
further arguments, not used.
Result can be aligned with chunk option ft.align
that
accepts values 'left', 'center' and 'right'.
Word option 'Allow row to break across pages' can be
activated with chunk option ft.split
set to TRUE.
Position should be defined with options ft.left
and ft.top
. Theses are the top left coordinates
of the placeholder that will contain the table. They
default to {r ft.left=1, ft.left=2}
.
Other flextable print function: format.flextable
,
htmltools_value
,
print.flextable
, save_as_html