ftdoc: Export flextable as MS Word table

View source: R/fn_all.R

ftdocR Documentation

Export flextable as MS Word table

Description

Export flextable as MS Word table

Usage

ftdoc(ft, fpath, omit = "")

Arguments

ft

A flextable object.

fpath

⁠<chr>⁠ File path to save output and add to label.

omit

⁠<chr>⁠ Text to omit from the label.

Value

A string containing the full name of the generated file.

Examples

## Not run: 
fpath = "output.docx"
mtcars |> head() |> ft() |> ftdoc(fpath)

## End(Not run)

edar documentation built on Nov. 15, 2026, 1:07 a.m.