make_ft {strand}R Documentation

Make Basic Flextable

Description

Make a flextable with preferred formatting

Usage

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


[Package strand version 0.2.0 Index]