flextable (version 0.5.5)

format.flextable: Encode flextable in a document format.

Description

Encode flextable in a document format, html, docx, pptx.

This function is exported so that users can create their own custom component.

Usage

# S3 method for flextable
format(x, type, ...)

Arguments

x

flextable object

type

one of pptx, docx or html.

...

unused

See Also

Other flextable print function: as_raster, docx_value, htmltools_value, knit_print.flextable, plot.flextable, print.flextable, save_as_html, save_as_image

Examples

Run this code
# NOT RUN {
ft <- flextable(head(iris, n = 2))
format(ft, type = "html")
# }

Run the code above in your browser using DataLab