Category "flextable"

Using add_header_row from flextable to create columns of varying widths

I have data as follows: dat <- structure(list(rn = c("type_A", "type_B", "type_C" ), freq = list(c(0, 0, 0, 5, 7, 16, 28), c(2, 1, 0, 5, 0, 8), c(0, 0,

Set the width of regulartable() when exported in word document

Im trying to export a dataframe to word using knitr and regulartable() but my table does not fit in the word page. --- title: "Correlation table" author: "mk" d

Is there a way to bold part of a character string being passed to add_header_lines() when using the flextable package for R

I'm creating a couple of tables for a Word document using the flextable package, which I'm loving. However, I'm having a little trouble bolding part of the text

Automatic positioning of images and tables in PowerPoint slide officer

Hi so I have I am trying to write my own function that will automatically size and central align the images/tables that I am generating from officer. The top/le

R flextable - How to add a table-wide horizontal border under a merged cell

Is there a smart way to have a horizontal border table wide when you have merged cells? (In the example below, it is not yet table wide). Or should I write a f