my_flextable: Standard Flextable Format

Description Usage Arguments Value

View source: R/table_formatting.r

Description

Create and format a flextable with standard formatting

Usage

1
2
3
4
5
6
7
8
9
my_flextable(
  df,
  digits = 2,
  align = "center",
  aln_part = "all",
  header = NULL,
  vline = NULL,
  hline = NULL
)

Arguments

df

The dataframe to format as a flextable

digits

The number of digits 'round()' should use

align

How to align the table; one of "left", "center", "right", "justify"

aln_part

Which part to align; one of "header", "body", "footer", "all"

header

Table header to be passed to 'add_header_lines()'

vline

Which column(s) to place a vertical line after

hline

Which row(s) to place a horizontal line below

Value

A formatted flextable object


atchley-sha/R-packageSHA documentation built on Dec. 19, 2021, 5:40 a.m.