knitr_add_tab_item: Add JavaScript tab in the report

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

View source: R/report.R

Description

Add JavaScript tab in the report

Usage

1
2
knitr_add_tab_item(code, header, prefix, desc = "", opt = NULL,
    message = NULL, hide_and_show = FALSE)

Arguments

code

R code to execute.

header

Header or the title for the tab.

prefix

Prefix of the chunk label.

desc

Decription in the tab.

opt

Options for the knitr chunk.

message

Message to print.

hide_and_show

Whether to hide the code output.

Details

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

This function is only for internal use.

Value

No value is returned.

Author(s)

Zuguang Gu <z.gu@dkfz.de>

See Also

knitr_insert_tabs produces a complete HTML fragment.

Examples

1
2
# There is no example
NULL

cola documentation built on Nov. 8, 2020, 8:12 p.m.