tabular: Tabular for roxygen2

View source: R/tabular.R

tabularR Documentation

Tabular for roxygen2

Description

Convert data.frame to roxygen2 tabular format

Usage

tabular(df, header = TRUE, ...)

Arguments

df

data.frame to convert to table

header

boolean to control if header is created from names(df), Default: TRUE

...

arguments to pass to format

Value

character

Source

roxygen2 formatting

See Also

format

Examples

tabular(mtcars[1:5, 1:5])
tabular(mtcars[1:5, 1:5],header=FALSE)

yonicd/sinew documentation built on March 1, 2024, 1:06 a.m.