Learn R Programming

flextable (version 0.5.8)

htmltools_value: flextable as a div object

Description

get a div from a flextable object. This can be used in a shiny application.

Argument ft.align can be specified also as knitr chunk options.

Usage

htmltools_value(x, ft.align = opts_current$get("ft.align"), class = "tabwid")

Arguments

x

a flextable object

ft.align

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

class

css classes (default to "tabwid"), if ft.align is set to 'left' or 'right', class 'tabwid_left' or 'tabwid_right' will be added to class.

See Also

Other flextable print function: as_raster(), docx_value(), knit_print.flextable(), plot.flextable(), print.flextable(), save_as_docx(), save_as_html(), save_as_image(), save_as_pptx()

Examples

Run this code
# NOT RUN {
htmltools_value(flextable(iris[1:5,]))
# }

Run the code above in your browser using DataLab