clintable: Create a new clintable object
Description
A clintable object directly inherits from a flextable object. This function
will pass all necessary parameters flextable::flextable() and conver the
object to a clintable
Usage
clintable(x, page_by = NULL, group_by = NULL, use_labels = TRUE, ...)
Arguments
- x
A data frame
- page_by
A variable in the input dataframe to use for pagination
- group_by
A character vector of variable names which will be used for grouping and attached
as a label above the table headers
- use_labels
Use variable labels as column headers. Nested levels can be
achieved using the string "||" as a delimitter. Horizontal and vertical levels
using identical words will be merged.
- ...
Parameters to pass to flextable::flextable()