Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

htmltools_value

flextable as an HTML object


Description

get a div() from a flextable object. This can be used in a shiny application. For an output within "R Markdown" document, use knit_print.flextable.

Usage

htmltools_value(x, ft.align = "center", ft.shadow = TRUE)

Arguments

x

a flextable object

ft.align

flextable alignment, supported values are 'left', 'center' and 'right'.

ft.shadow

use shadow dom, this option is existing to disable shadow dom (set to FALSE) for pagedown that can not support it for now.

Value

an object marked as HTML ready to be used within a call to shiny::renderUI for example.

See Also

Examples

htmltools_value(flextable(iris[1:5,]))

flextable

Functions for Tabular Reporting

v0.6.10
GPL-3
Authors
David Gohel [aut, cre], Clementine Jager [ctb], Quentin Fazilleau [ctb], Maxim Nazarov [ctb] (rmarkdown for docx output), Titouan Robert [ctb], Michael Barrowman [ctb] (inline footnotes), Atsushi Yasumoto [ctb] (support for bookdown cross reference), Paul Julian [ctb] (support for gam objects)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.