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

add_body()

Add rows in body 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

set_table_properties()

Global table properties

width()

Set flextable columns width

hrule()

Set flextable rule for rows heights

autofit()

Adjusts cell widths and heights

fit_to_width()

fit a flextable to a maximum width

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

as_flextable(<xtable>) 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.

set_flextable_defaults() init_flextable_defaults()

Modify flextable defaults formatting properties

get_flextable_defaults()

Get flextable defaults 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

line_spacing()

Set text alignment

highlight()

Text Highlight 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_inner()

set vertical & horizontal inner borders

border_inner_h()

set inner borders

border_inner_v()

set vertical inner borders

border_outer()

set outer borders

fix_border_issues()

fix border issues when cell are merged

border_remove()

remove borders

Flextable themes

Apply theme functions.

theme_alafoli()

Apply alafoli 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

theme_vanilla()

Apply vanilla theme

theme_zebra()

Apply zebra theme

Content

Define flextable`s content

colformat_char()

format character cells

colformat_date()

format date cells

colformat_datetime()

format datetime cells

colformat_double()

format numeric cells

colformat_image()

format cells as images

colformat_int()

format integer cells

colformat_lgl()

format logical cells

colformat_num()

format numeric cells

set_formatter() set_formatter_type()

set column formatter functions

compose() mk_par()

Define flextable displayed values

as_paragraph()

concatenate chunks in a flextable

as_chunk()

chunk of text wrapper

as_b()

bold chunk

as_i()

italic chunk

as_sub()

subscript chunk

as_sup()

superscript chunk

as_highlight()

highlight chunk

colorize()

colorize chunk

fp_border_default()

Border formatting properties

fp_text_default()

Text formatting properties

plot_chunk()

mini plots chunk wrapper

gg_chunk()

gg plots chunk wrapper

as_image()

image chunk wrapper

minibar()

mini barplots chunk wrapper

linerange()

mini linerange chunk wrapper

lollipop()

mini lollipop chart chunk wrapper

as_bracket()

chunk with values in brackets

hyperlink_text()

chunk of text with hyperlink wrapper

as_equation()

equation chunk

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

save_as_docx()

save flextable objects in an Word file

save_as_pptx()

save flextable objects in an PowerPoint file

htmltools_value()

flextable as an HTML object

as_raster()

get a flextable as a raster

flextable_to_rmd()

flextable raw code

as_flextable

get flextable from objects and utilities

as_flextable()

method to convert object to flextable

as_flextable(<gam>)

tabular summary for gam object

as_flextable(<glm>)

tabular summary for glm object

as_flextable(<grouped_data>)

tabular summary for grouped_data object

as_flextable(<htest>)

tabular summary for htest object

as_flextable(<lm>)

tabular summary for lm object

as_flextable(<xtable>) xtable_to_flextable()

get a flextable from a xtable object

continuous_summary()

continuous columns summary

proc_freq()

frequency table as flextable