View source: R/display_as_list.R
display_as_list | R Documentation |
Create an HTML list
display_as_list(x, type = c("ul", "ol"), ...)
display_as_ul(x, ...)
display_as_ol(x, ...)
x |
an R object (a vector or a list), each element of which will be wrapped in |
type |
the type of HTML list : unordered or ordered |
... |
passed to |
display_as_list(c("a", "b", "c"))
display_as_list(c("a", "b", "c"), type="ol")
display_as_list(list("a", list("a.1", "a.2"), "b"))
display_as_list(list("a", list("<a href='foo.html'>a.1</a>", "a.2"), "b"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.