make_ft: Make Basic Flextable

Description Usage Arguments Value

View source: R/reporting.R

Description

Make a flextable with preferred formatting

Usage

1
make_ft(x, title = NULL, col_names = NULL, hlines = "all")

Arguments

x

The data.frame to use for flextable

title

The string to use as the table title

col_names

A character vector of preferred column names for flextable. Length of character vector must be equal to the number of columns. Defaults to NULL, in which case the column names of x are used in the flextable.

hlines

The row numbers to draw horizontal lines beneath. Defaults to "all", can be "all", "none", or a numeric vector.

Value

A flextable object with the argued formatting


strand documentation built on Nov. 20, 2020, 1:08 a.m.