R: Generate Publication-Ready Statistical Tables

# Generate Publication-Ready Statistical Tables

## Documentation for package ‘tsg’ version 0.1.4

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

add_column_total | Add a column total
add_facade | Add a facade to a tsg table
add_facade_alt | Add a facade to a tsg table (alternative way)
add_footnote | Add a footnote attribute to a table
add_row_total | Add a row total
add_source_note | Add a source note attribute to a table
add_table_subtitle | Add a subtitle attribute to a table
add_table_title | Add a title attribute to a table
collapse_list | Collapse a list of data frames or tibbles into a single data frame
convert_factor | Convert labelled factors to regular factors
generate_crosstab | Generate cross-tabulation
generate_frequency | Generate frequency table
generate_output | Generate output in specified format (e.g., xlsx, html, pdf, word)
generate_template | Generate a template
get_tsg_facade | Get a facade from the package or a file
person_record | Sample dataset of persons
remove_label | Remove data labels
remove_labels | Remove all labels
rename_label | Rename data labels
write_docx | Write a tsg table (or list of tables) to a Word (.docx) file
write_html | Write a tsg table (or list of tables) to an HTML file
write_pdf | Write a tsg table (or list of tables) to a PDF file
write_xlsx | Write Data to Excel with Titles, Notes, and Styling