flextable (version 0.5.1)

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

Examples

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

Run the code above in your browser using DataCamp Workspace