beautifytable: beautifytable

Description Usage Arguments Value Examples

View source: R/beautifytable.R

Description

This function beautifies tables for Rmarkdown pdf outputs

Usage

1
beautifytable(.data, caption, size = 7, width = "3in")

Arguments

.data

The dataframe or table which is being beautified

caption

The caption for the table

size

The font size. Default size is 7.

width

The width of the first column of the table. Default size is 3 inches.

Value

Output in Rmarkdown following pdf knit

Examples

1
2
3
4
irisflowers <- iris %>%
  group_by(Species) %>%
  summarise(n = n())
beautifytable(irisflowers, "Flower Count")

MarvinLawPhD/datasummariser documentation built on Aug. 11, 2020, 6:25 p.m.