Create flextable

flextable() qflextable() regulartable()

flextable creation

Headers and footers

Add or modify flextable`s headers or footers

add_header_row() add_footer_row()

Add labels and merge cells in a new header or footer row

add_header_lines() add_footer_lines()

Add a label in a header or footer new row.

add_header() add_footer()

Add a rows of labels in header or footer part

set_header_labels()

Set flextable's headers labels

set_header_df() set_footer_df()

Set flextable's header or footer rows

delete_part()

delete flextable part

Manage flextable layout

merge_at()

Merge flextable cells into a single one

merge_h()

Merge flextable cells horizontally

merge_h_range()

rowwise merge of a range of columns

merge_none()

Delete flextable merging informations

merge_v()

Merge flextable cells vertically

height() height_all()

Set flextable rows height

width()

Set flextable columns width

autofit()

Adjusts cell widths and heights

dim(<flextable>)

Get widths and heights of flextable

dim_pretty()

Calculate pretty dimensions

flextable_dim()

width and height of a flextable object

as_grouped_data()

grouped data transformation

xtable_to_flextable()

get a flextable from a xtable object

as_flextable()

method to convert object to flextable

Format flextable

Modify flextable`s formatting properties.

style()

Set flextable style

align() align_text_col() align_nottext_col()

Set text alignment

bg()

Set background color

font()

Set font

fontsize()

Set font size

italic()

Set italic font

bold()

Set bold font

color()

Set font color

padding()

Set paragraph paddings

valign()

Set vertical alignment

rotate()

rotate cell text

empty_blanks()

make blank columns as transparent

borders

Borders management

hline()

set horizontal borders

hline_bottom()

set bottom horizontal border

hline_top()

set top horizontal border

vline()

set vertical borders

vline_left()

set flextable left vertical borders

vline_right()

set flextable right vertical borders

border()

Set cell borders

border_inner()

set vertical & horizontal inner borders

border_inner_h()

set inner borders

border_inner_v()

set vertical inner borders

border_outer()

set outer borders

border_remove()

remove borders

fix_border_issues()

fix border issues when cell are merged

Flextable themes

Apply theme functions.

theme_alafoli()

Apply box theme

theme_booktabs()

Apply booktabs theme

theme_box()

Apply box theme

theme_tron()

Apply tron theme

theme_tron_legacy()

Apply tron legacy theme

theme_vader()

Apply Sith Lord Darth Vader

theme_vanilla()

Apply vanilla theme

theme_zebra()

Apply zebra theme

Content

Define flextable`s content

colformat_char()

format character cells

colformat_int()

format integer cells

colformat_lgl()

format logical cells

colformat_num()

format numeric cells

compose() mk_par()

Define flextable displayed values

set_formatter() set_formatter_type()

set column formatter functions

as_paragraph()

concatenate chunks in a flextable

as_chunk()

chunk of text wrapper

as_image()

image chunk wrapper

minibar()

mini barplots chunk wrapper

linerange()

mini linerange chunk wrapper

as_b()

bold chunk

as_bracket()

chunk with values in brackets

as_i()

italic chunk

as_sub()

subscript chunk

as_sup()

superscript chunk

hyperlink_text()

chunk of text with hyperlink wrapper

set_caption()

set caption

footnote()

add footnotes to flextable

void()

Delete flextable content

Output functions

print(<flextable>)

flextable printing

knit_print(<flextable>)

Render flextable in rmarkdown

body_add_flextable() body_replace_flextable_at_bkm()

add flextable into a Word document

ph_with(<flextable>)

add a flextable into a PowerPoint slide

plot(<flextable>)

plot a flextable

save_as_image()

save a flextable as an image

save_as_html()

save a flextable in an HTML file

format(<flextable>)

Encode flextable in a document format.

htmltools_value()

flextable as a div object

as_raster()

get a flextable as a raster