24 August 2024
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.
This template has the same features as others in the memoiR package except for multi-language support (no lang
item in the header).
See the code of the following slides for some specific code of slides.
Incremental bullets start with > -
instead of -
:
R code chunks are displayed as follows:
head(cars)
## speed dist ## 1 4 2 ## 2 4 10 ## 3 7 4 ## 4 7 22 ## 5 8 16 ## 6 9 10
This slide has two columns.
In Beamer, each column in between \begincol
and \endcol
.
In HTML, the {.columns-2}
option is added to the slide title and <p class="forceBreak"></p>
allows forcing column break.
See R Markdown: The Definitive Guide for full documentation about HTML slides.
Note:
{.flexbox .vcenter}
to center the HTML slide with plot.out.width='90%'
to reduce the size of the plot in the Two Column Layout slide.Keep the code below to have a slide for references, allow two-column slides in ioslides (but not in Slidy) and allow scrolling oversized slides.
Xie, Yihui. 2016. Bookdown: Authoring Books and Technical Documents with R Markdown. Boca Raton, Florida: Chapman; Hall/CRC. https://github.com/rstudio/bookdown.