Learn R Programming

reports (version 0.1.4)

templates: View Templates

Description

View all the reports package templates.

Usage

templates(print.cons = TRUE, names = TRUE)

Arguments

print.cons
logical. If TRUE The template information id printed to the console.
names
logical. If TRUE only the names of the templates will be returned.

Details

This function prints (via cat) to the console to view possible templates (feel free to submit your own; see doc_temp for details) as well as optionally returning a vector of names that the user can pass to other functions.

See Also

doc_temp

Examples

Run this code
## Not run: 
# templates()
# templates(FALSE)
# new_report("new", templates(FALSE)[4])
# ## End(Not run)

Run the code above in your browser using DataLab