Create flextable

flextable() regulartable()

flextable creation

xtable_to_flextable()

get a flextable from a xtable object

Headers

Add or modify flextable`s headers or footers

add_header() add_header_row() add_footer_row() add_footer_lines() add_header_lines() add_footer()

Add a row 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 flextable dimensions

dim_pretty()

Calculate pretty dimensions

as_grouped_data()

grouped data transformation

xtable_to_flextable()

get a flextable from a xtable object

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

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_h()

set inner borders

border_inner_v()

set vertical inner borders

border_outer()

set outer borders

border_remove()

remove borders

rotate()

rotate cell text

empty_blanks()

make blank columns as transparent

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 columns

colformat_int()

format integer columns

colformat_lgl()

format logical columns

colformat_num()

format numeric columns

compose()

Define flextable displayed values

set_formatter() set_formatter_type()

set column formatter functions

void()

Delete flextable content

as_paragraph()

concatenate chunks in a flextable

as_chunk()

chunk of text wrapper

as_image()

image chunk wrapper

minibar()

mini barplots chunk wrapper

hyperlink_text()

chunk of text with hyperlink wrapper

set_caption()

set caption

Output functions

print(<flextable>)

flextable printing

htmltools_value() knit_print(<flextable>)

Render flextable in rmarkdown (including Word and PowerPoint output)

body_add_flextable() body_replace_flextable_at_bkm()

add flextable into a Word document

ph_with_flextable() ph_with_flextable_at()

add flextable into a PowerPoint slide