0% found this document useful (0 votes)
56 views

Uslides: Example Presentation

This document demonstrates how to create an HTML presentation using R Markdown and the shower presentation system. It includes examples of different slide content like lists, formulas, quotes, code chunks, tables, and plots. The slides also showcase features of the shower template like two-column layouts, outlines, and revealing list items sequentially.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views

Uslides: Example Presentation

This document demonstrates how to create an HTML presentation using R Markdown and the shower presentation system. It includes examples of different slide content like lists, formulas, quotes, code chunks, tables, and plots. The slides also showcase features of the shower template like two-column layouts, outlines, and revealing list items sequentially.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

uslides

Example presentation

https://github.com/mkearney/uslides

School of Journalism
Informatics Institute
University of Missouri

2018-01-28
uslides HTML presentation with R Markdown

Get it from GitHub: https://github.com/mkearney/uslides.


R Markdown

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.
Shower

These slides use a template from the shower presentation system. Notable features:

1. Works in all modern browsers


2. Presentation fully keyboard accessible
3. Multiple themes available
4. Printable to PDF

Shower [’ əuə] noun. A person or thing that shows.


Two column layout

What is it? Your fathers lightsaber. This is the weapon of a Jedi Knight. Not as clumsy
or as random as a blaster. An elegant weapon for a more civilized time. For over a
thousand generations the Jedi Knights were the guardians of peace and justice in the
Old Republic. Before the dark times, before the Empire. How did my father die? A young
Jedi named Darth Vader, who was a pupil of mine until he turned to evil, helped the
Empire hunt down and destroy the Jedi Knights.
Two column layout, independent columns

How did I get into this mess? I really don’t know how. We seem to be made to suffer.
It’s our lot in life. I’ve got to rest before I fall apart.
Lists

1. Simple lists are marked with bullets


2. Ordered lists begin with a number
3. You can even nest lists one inside another
• Or mix their types
• But do not go too far
• Otherwise audience will be bored

4. Look, seven rows exactly!


Formulas

Formulas are rendered by KaTeX, https://github.com/Khan/KaTeX


It supports both inline: y = x/2 and displayed formulas:

−b ± b2 − 4ac
x1,2 =
2a
Slide with quote

Learning more about programming is a long-term investment: it won’t pay


off immediately, but in the long term it will allow you to solve new problems
more quickly, and let you reuse your insights from previous problems in new
scenarios.

-Hadley Wickham
Slide with R Code and Output
• Some text

#hw <- rtweet::search_tweets(”rstats”)


mtcars
## # A tibble: 32 x 11
## mpg cyl disp hp drat wt qsec vs am gear
## * <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
## 1 21.0 6.00 160 110 3.90 2.62 16.5 0 1.00 4.00
## 2 21.0 6.00 160 110 3.90 2.88 17.0 0 1.00 4.00
## 3 22.8 4.00 108 93.0 3.85 2.32 18.6 1.00 1.00 4.00
## 4 21.4 6.00 258 110 3.08 3.22 19.4 1.00 0 3.00
## 5 18.7 8.00 360 175 3.15 3.44 17.0 0 0 3.00
## 6 18.1 6.00 225 105 2.76 3.46 20.2 1.00 0 3.00
## 7 14.3 8.00 360 245 3.21 3.57 15.8 0 0 3.00
## 8 24.4 4.00 147 62.0 3.69 3.19 20.0 1.00 0 4.00
## 9 22.8 4.00 141 95.0 3.92 3.15 22.9 1.00 0 4.00
## 10 19.2 6.00 168 123 3.92 3.44 18.3 1.00 0 4.00
## # ... with 22 more rows
Tables

mpg cyl disp hp

Mazda RX4 21 6 160 110


Mazda RX4 Wag 21 6 160 110
Datsun 710 22.8 4 108 93
Hornet 4 Drive 21.4 6 258 110
Hornet Sportabout 18.7 8 360.0 175
Valiant 18.1 6 225.0 105
Duster 360 14.3 8 360.0 245
Outline

Title slide
Lists item by item

1. Lets you reveal list items one by one


Lists item by item

1. Lets you reveal list items one by one


2. To keep some key points
Lists item by item

1. Lets you reveal list items one by one


2. To keep some key points
3. In secret from audience
Lists item by item

1. Lets you reveal list items one by one


2. To keep some key points
3. In secret from audience
4. But it will work only once
Lists item by item

1. Lets you reveal list items one by one


2. To keep some key points
3. In secret from audience
4. But it will work only once
5. Nobody wants to see the same joke twice
Slide with Plot
Table of Contents

Title slide

You might also like