includeTable: Render a table in an Rmd chunk

Description Usage Arguments Value

View source: R/table.r

Description

Use this function with the YML template file created by code createTable.

Usage

1
2
includeTable(file, markdown = TRUE, template = "templates/site/table.html",
  widths = NULL)

Arguments

file

source YAML file

markdown

if TRUE text values in the YAML file are preprocessed as markdown

template

table template file

widths

if not null gives the grid system widths of the columns

Value

the HTML table tagged by htmltools so that it's rendered as HTML when an the rmd is knitted.


whitwort/courseR documentation built on Sept. 6, 2019, 1:14 a.m.