flextable (version 0.5.1)

set_caption: set caption

Description

set caption value in flextable

Usage

set_caption(x, caption)

Arguments

x

flextable object

caption

caption value

Examples

Run this code
# NOT RUN {
ft <- flextable( head( iris ) )
ft <- set_caption(ft, "my caption")
ft
# }

Run the code above in your browser using DataCamp Workspace