Learn R Programming

sinew (version 0.4.0)

tabular: 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

See Also

format

Examples

Run this code
# NOT RUN {
tabular(mtcars[1:5, 1:5])
tabular(mtcars[1:5, 1:5],header=FALSE)
# }

Run the code above in your browser using DataLab