knitr::opts_chunk$set(collapse = TRUE, size = "\\scriptsize")
Get it from GitHub: https://github.com/mkearney/uslides.
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.
These slides use a template from the shower presentation system. Notable features:
Shower ['ʃəuə] noun. A person or thing that shows.
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.
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.
Formulas are rendered by KaTeX, https://github.com/Khan/KaTeX
It supports both inline: (y = x / 2) and displayed formulas:
[ x_{1,2} = \frac{- b \pm \sqrt{b^2 - 4ac}}{2a} ]
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
if (!requireNamespace("rtweet", quietly = TRUE)) install.packages("rtweet")
#hw <- rtweet::search_tweets("rstats")
mtcars
| | 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 |
- Lets you reveal list items one by one
- To keep some key points
- In secret from audience
- But it will work only once
- Nobody wants to see the same joke twice
par(mar = c(5, 4, 1, 2) + 0.1) pairs(iris[1:4], pch = 21, bg = c("red", "green3", "blue")[unclass(iris$Species)])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.