knitr_add_tab_item: Add one JavaScript tab in the report

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/report.R

Description

Add one JavaScript tab in the report

Usage

1
knitr_add_tab_item(code, header, desc = "", opt = NULL, message = NULL)

Arguments

code

R code to execute.

header

header or the title for the tab.

desc

decription in the tab.

opt

options for the knitr chunk.

message

message to print.

Details

Each tab contains the R source code and results generated from it (figure, tables, text, ...).

This function in only for internal use.

Value

No value is returned.

Author(s)

Zuguang Gu <[email protected]>

See Also

knitr_insert_tabs produces a complete HTML fragment.

Examples

1
2
# There is no example
NULL

jokergoo/cola documentation built on Nov. 13, 2018, 1:22 p.m.