print_table: Makes a pretty table with the given data and labels.

Description Usage Arguments Value Examples

View source: R/print_table.R

Description

Makes a pretty table with the given data and labels.

Usage

1
print_table(data, main_column_name)

Arguments

data

A data frame containing the data.

main_column_name

A string containing the main column name.

Value

A kable.

Examples

1
2
3
data <- c('Female', 'Female', 'Female', 'Male')
main_column_name <- c('Gender')
print_table(data, main_column_name)

ctsit/rdatil documentation built on May 26, 2019, 12:31 p.m.