powered by
set caption value in flextable
set_caption(x, caption, html_escape = TRUE)
flextable object
caption value
should HTML entities be escaped so that it can be safely included as text or an attribute value within an HTML document.
# NOT RUN { ft <- flextable( head( iris ) ) ft <- set_caption(ft, "my caption") ft # }
Run the code above in your browser using DataLab