createTable: Create a table source file

Description Usage Arguments Value

View source: R/table.r

Description

The resulting YAML file can be easily hand editted and used to included as a table in an Rmd file with the codeincludeTable function.

Usage

1
createTable(nrows, cols, row.col = "#", file)

Arguments

nrows

number of rows

cols

column names

row.col

name of column for row numbers; set to false to skip

file

output YAML file

Value

the YAML string invisibly


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