Learn R Programming

codebookr (version 0.1.8)

cb_summary_stats_to_ft: Create Formatted Flextable From Summary Statistics

Description

Create Formatted Flextable From Summary Statistics

Usage

cb_summary_stats_to_ft(df, ...)

# S3 method for summary_numeric cb_summary_stats_to_ft(df, col_width = 1.3, ...)

# S3 method for summary_many_cats cb_summary_stats_to_ft(df, col_width = 1.62, ...)

# S3 method for summary_few_cats cb_summary_stats_to_ft(df, col_width = 1.62, ...)

# S3 method for summary_time cb_summary_stats_to_ft(df, col_width = 1.62, ...)

Value

Flextable object

Arguments

df

Data frame of summary statistics

...

Other stuff

col_width

Set the width of the column that will appear in the Word table