A minimal example

knitr::opts_chunk$set(cache=TRUE)

First Section

First Frame

Hello, world!

Second Section

Second Frame

Bulleted Lists

Elements

Typography

The theme provides sensible defaults to
\emph{emphasize} text, \alert{accent} parts
or show \textbf{bold} results.

In Markdown, you can also use _emphasize_ and **bold**.

\begin{center}becomes\end{center}

The theme provides sensible defaults to \emph{emphasize} text, \alert{accent} parts or show \textbf{bold} results.

In Markdown, you can also use emphasize and bold.

Math

\begin{equation} e = \lim_{n\to \infty} \left(1 + \frac{1}{n}\right)^n \end{equation}

R Figure Example

The following code generates the plot on the next slide (taken from help(bxp) and modified slightly):

library(stats)
set.seed(753)
bx.p <- boxplot(split(rt(100, 4),
                      gl(5, 20)), plot=FALSE)
bxp(bx.p, notch = FALSE, boxfill = "lightblue",
    frame = FALSE, outl = TRUE,
    main = "Example from help(bxp)")

R Figure Example

library(stats)
set.seed(753)
bx.p <- boxplot(split(rt(100, 4),
                      gl(5, 20)), plot=FALSE)
bxp(bx.p, notch = FALSE, boxfill = "lightblue",
    frame = FALSE, outl = TRUE,
    main = "Example from help(bxp)")

R Table Example

A simple knitr::kable example:

knitr::kable(mtcars[1:5, 1:8],
             caption="(Parts of) the mtcars dataset")

Resources

For more information:



Try the binb package in your browser

Any scripts or data that you put into this service are public.

binb documentation built on July 2, 2020, 4:08 a.m.