Usage Arguments Details Examples
1 | l.html.collapse(code, title="collapse", title_before=NULL, title_after=NULL)
|
itemcode itemtitle itemtitle_before itemtitle_after
Use with results="asis" in chinks.
1 2 | l.html.collapse(code=print(head(diamonds))) #remember about "print"
l.html.collapse(code=plot(qplot(data=diamonds, x=price)) ) #remember about "plot"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.