tabset | R Documentation |
The tab titles are names of list members, and the tab content contains the values of list members. If a list member is also a list, it will be represented recursively with a child tabset.
tabset(x, value = str)
x |
A list. |
value |
A function to print the value of a list member. By default,
|
A character vector of Markdown that can be rendered to HTML with
litedown::mark()
.
xfun::tabset(iris)
xfun::tabset(iris, dput)
xfun::tabset(iris, print)
# a deeply nested list
plot(1:10)
p = recordPlot()
xfun::tabset(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.