kableTable: kableTable

Description Usage Arguments

View source: R/kableTable.R

Description

This is a wrapper function to allow kable to ouput a table with one input. This is not possible for current 1 dimensional tables. Either a table or vector can be provided.

Usage

1
kableTable(what, dir = "h", horizontalColNames = c("Name", "Count"))

Arguments

what

A table or vector of data to tabulate

dir

Direction to produce table. "h" = horizonatl and anything else will be vertical. Default is "h".

horizontalColNames

A vector with length 2 used as column names if the table is vertical


csmoxford/prettyTables documentation built on May 14, 2019, 12:24 p.m.