Description Usage Arguments Examples
Hvert element i listen blir printet i en "tab" i en markdown rapport.
1 | tabset_list(list, header_level, header_names = NULL)
|
list |
A |
header_level |
An |
header_names |
Vektor med navn på tabs. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ```{r cars}
my_plot_function <- function(cylinders) {
mtcars %>%
filter(cyl == cylinders) %>%
ggplot(aes(hp, mpg)) +
geom_point()
}
p <- purrr::map(c(4, 6, 8), my_plot_function)
```
# Overskrift {.tabset}
```{r pressure, results="asis"}
tabset_list(p, 2)
```
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.