I am interested in outputting flextable
objects (mainly summary statistics and regression tables) according to a particular Word Table-style. Based on prior Stack Overflow questions and documentation, eg
Applying a Word style (table or paragraph) to flextable object
I believe this is not possible in flextable
alone. However, the new officedown
package documentation says that it supports both Word Table styles and flextable
objects.
Is it now possible to output say, flextable
regression tables, according to a particular Word style using officedown
? I could find no examples of this in the documentation.
I think you can now. See documentation here: https://ardata-fr.github.io/flextable-book/rendering.html
under '3.3 Rmarkdown' the knitr chunk options for specifying the word style names are given (tab.style & tab.cap.style). you would need to setup it all in your template word document.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.