Created
September 22, 2020 12:51
-
-
Save gadenbuie/fa7b75e5447ea52d5d1f13d2f15ca7fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "panelset" | |
author: "Garrick Aden-Buie" | |
date: "9/22/2020" | |
output: ioslides_presentation | |
--- | |
```{r setup, include=FALSE} | |
knitr::opts_chunk$set(echo = FALSE) | |
``` | |
```{css echo=FALSE} | |
/* hide the dot that ioslides adds to list items */ | |
.panelset ul > li::before { | |
display: none !important; | |
} | |
``` | |
## R Markdown | |
```{r} | |
xaringanExtra::use_panelset() | |
``` | |
This is an R Markdown presentation. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>. | |
When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. | |
## Panels | |
::::: {.panelset} | |
::: {.panel} | |
[Slide with R Output]{.panel-name} | |
```{r cars, echo = TRUE} | |
summary(cars) | |
``` | |
::: | |
::: {.panel} | |
[Slide with Plot]{.panel-name} | |
```{r pressure} | |
plot(pressure) | |
``` | |
::: | |
::: {.panel} | |
[Text]{.panel-name} | |
Consectetur scelerisque porta erat eros inceptos eu dapibus mauris. | |
Elit dui quisque lacinia purus eget vel nam condimentum pulvinar. | |
Dolor inceptos montes nec sociosqu porttitor faucibus aptent suspendisse ornare. | |
::: | |
:::: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment