present_table: Present a stylish table

Description Usage Arguments Value

View source: R/print_table.R

Description

Creates a formatted and styled table to display COVID19 data using the kableExtra package

Usage

1
present_table(data, measure, caption)

Arguments

data

The data set to be formatted

measure

The measure chosen for the heading of the table as a character vector, can be "cases" or "deaths"

caption

The desired caption for the table entered as a character string.

Value

A formatted kable of the original data set entered


etc5523-2020/r-package-assessment-AbhishekSinha28 documentation built on Jan. 1, 2021, 1:09 a.m.